/* Public company page, "Padrão" template. Colors come from the theme. */
.public-page {
  position: relative;
  isolation: isolate;
  /* What reaches past the sides (the rings, the photos out in the margin)
     is cut there instead of scrolling the page sideways. */
  overflow-x: clip;
  /* The theme makes body a flex column of the window's height; without this
     the page shrinks to one screen and the sticky header leaves with it. */
  flex-shrink: 0;
  background: var(--bs-body-bg);
  color: var(--bs-gray-800);
}

/* The moving contour lines (public-bg.js) behind every page, held in place
   while the content scrolls and fading out towards the edges. */
.public-page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 80% 100% at 50% 50%, #000 45%, transparent 100%);
  mask: radial-gradient(ellipse 80% 100% at 50% 50%, #000 45%, transparent 100%);
}

.public-header {
  background: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-gray-200);
}

/* Logo in the middle, the menu split on either side; on small screens the
   logo goes left and the menu folds away. */
.public-header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 96px;
  padding: 0.5rem 1.5rem;
}

.public-header-side {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.public-header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.public-logo {
  height: 78px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* Large screens: a slim bar whose lower edge drops around the logo in a
   polygon; the drop overlaps the top of the page, which leaves room for it. */
@media (min-width: 1200px) {
  /* Each menu sits in the middle of its side, from the screen's edge to
     where the logo tab starts. */
  .public-header-bar {
    position: relative;
    height: 80px;
    min-height: 0;
    padding: 0;
    gap: 0;
  }
  .public-header-side {
    justify-content: center;
  }
  .public-header-menu {
    margin-left: auto;
  }
  .public-header-actions {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  /* Bar and logo read as one piece: the outline is drawn around their joint
     shape (drop-shadow follows it) instead of a border cutting through. */
  .public-header {
    border-bottom: 0;
    filter: drop-shadow(0 1px 0 var(--bs-gray-200)) drop-shadow(0 0.5rem 0.75rem rgba(0, 0, 0, 0.05));
  }
  /* The bar's lower edge slants down to a flat bottom under the logo and back
     up: it leaves the bar at y = 80 (the bar's height) and bottoms at y = 140.
     Every bend is rounded: 12 at the bottom, 37 where the bar starts to drop.
     Above the bar's line the box is clipped to the middle 428px, so the long
     slopes never cover the menus. */
  .public-header-brand {
    flex: 0 0 auto;
    align-self: flex-start;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 556px;
    height: 140px;
    margin-bottom: -60px;
    padding-top: 0.6rem;
    background: var(--bs-body-bg);
    clip-path: path("M64 0H492V80H556Q519 80 482 98L414.5 131Q396 140 373 140H183Q160 140 141.5 131L74 98Q37 80 0 80H64Z");
  }
  /* Wide enough for the button to sit apart, the right menu centres on its
     whole side as the left one does. */
  @media (min-width: 2100px) {
    .public-header-menu {
      margin-left: 0;
    }
    .public-header-actions {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      padding-left: 0;
    }
  }
  .public-logo {
    height: 114px;
    max-width: 220px;
  }
  .public-hero-container {
    padding-top: calc(60px + 2rem) !important;
  }
}

/* The way in (or back to the system): its icon and word in an outlined,
   squarish button in the menu's grey; where room is short, the icon alone. */
.public-header .public-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.9rem;
  /* The theme's .btn drops borders otherwise. */
  border: 1px solid var(--bs-gray-300) !important;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--bs-gray-700);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Phones, and laptops where both menus fill the bar: the icon alone. */
@media (max-width: 575.98px), (min-width: 1200px) and (max-width: 1599.98px) {
  .public-header .public-login {
    width: 2.5rem;
    padding: 0;
  }
  .public-login-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.public-header .public-login:hover,
.public-header .public-login:focus-visible {
  border-color: var(--bs-primary) !important;
  background: transparent;
  color: var(--bs-primary);
}

.public-login i {
  display: flex;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1;
}

.public-nav-link {
  color: var(--bs-gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.public-nav-link:hover,
.public-nav-link:focus-visible {
  color: var(--bs-primary);
}

.public-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--bs-gray-900);
}

.public-section {
  padding: 4.5rem 0;
  scroll-margin-top: 150px;
}

/* Sections show only when filled, so the stripes follow what is there. */
#conteudo > .public-section:nth-of-type(even) {
  background: color-mix(in srgb, var(--bs-gray-100) 70%, transparent);
}

/* The site's fixed titles (pages, sections, cards) in capitals; what is
   typed in the module (news, jobs, services) keeps its own case. */
.public-page-title,
.public-section-title,
.public-contact-card-title,
.public-job-block-title,
.public-job-card-title,
.public-caps {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.public-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bs-gray-900);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Quill's own stylesheet sizes the editor box; here it is just text. */
.public-rich-text.ql-editor {
  padding: 0;
  height: auto;
  overflow: visible;
  font-family: inherit;
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--bs-gray-800);
}

.public-rich-text.ql-editor img {
  max-width: 100%;
  height: auto;
}

.public-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.public-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary-light);
  color: var(--bs-primary);
  font-size: 2.5rem;
  font-weight: 700;
}

/* The strip keeps its height; the logos sit 20% smaller in the middle of it. */
.public-partner {
  display: inline-flex;
  align-items: center;
  height: 166px;
  border-radius: 0.5rem;
}

.public-partner img {
  width: auto;
  height: 133px;
  max-width: min(331px, 56vw);
  object-fit: contain;
}

.public-news-cover {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.public-news-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary-light);
  color: var(--bs-primary);
  font-size: 2.5rem;
}

.public-news-cover-empty i {
  color: inherit;
  font-size: inherit;
}

.public-news-hero {
  max-height: 460px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* A small image (public-fit.js): its own size, centred, over a blurred
   copy of itself that fills the box it was given. */
.public-fit {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bs-gray-200);
}

.public-fit-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(22px) brightness(0.7) saturate(1.2);
}

.public-fit-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.public-map {
  width: 100%;
  min-height: 340px;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

.public-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary-light);
  color: var(--bs-primary);
  font-size: 1.1rem;
}

.public-footer {
  background: #1e1e2d;
  color: #c9cad6;
}

.public-footer a {
  color: #ffffff;
}

.public-footer-title {
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.public-footer .public-social {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  font-size: 1rem;
}

.public-footer-bottom {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.public-footer-bottom:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* "Developed by SIRGEO": its icon and name in a small box at the footer's
   right; the name in the icon's green to blue. */
.public-footer a.public-footer-sirgeo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: #c9cad6;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.public-footer a.public-footer-sirgeo:hover,
.public-footer a.public-footer-sirgeo:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.public-footer-sirgeo img {
  display: block;
  width: 38px;
  height: 38px;
}

.public-footer-sirgeo > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.25;
}

.public-footer-sirgeo-by {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.public-footer-sirgeo strong {
  background: linear-gradient(90deg, #4caf50, #3fc1d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

/* The footer's networks, as the tiles on Contato: each in its own colour in
   a plain box, filled with it under the pointer. The footer is always dark. */
.public-social {
  --brand: var(--bs-primary);
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 1.35rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

/* The theme gives icons a muted color of their own. */
.public-social.is-bi-linkedin { --brand: #0a66c2; }
.public-social.is-bi-instagram { --brand: #e4405f; }
.public-social.is-bi-facebook { --brand: #1877f2; }
.public-social.is-bi-youtube { --brand: #ff0000; }
.public-social.is-bi-twitter-x,
.public-social.is-bi-tiktok { --brand: #ffffff; }

.public-social,
.public-social i {
  color: var(--brand);
}

.public-social.is-bi-instagram i {
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.public-social.is-bi-tiktok i {
  text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55;
}

.public-social:hover,
.public-social:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.public-social:hover i,
.public-social:focus-visible i {
  background: none;
  color: #ffffff;
  text-shadow: none;
}

.public-social.is-bi-twitter-x:hover i,
.public-social.is-bi-tiktok:hover i,
.public-social.is-bi-twitter-x:focus-visible i,
.public-social.is-bi-tiktok:focus-visible i {
  color: #000000;
}

.public-social.is-bi-instagram:hover,
.public-social.is-bi-instagram:focus-visible {
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
}

.public-nav-link.active {
  color: var(--bs-primary);
}

.public-page-header {
  position: relative;
  border-bottom: 1px solid var(--bs-gray-200);
}

/* With public-page-header.js the band, the title's tab and the line between
   them are drawn in SVG instead; the tab takes the colour of the section
   below so the two read as one. */
.public-page-header.has-tab {
  background: none;
  border-bottom: 0;
}

.public-page-header > .container {
  position: relative;
}

.public-page-header [data-page-tab-content] {
  display: inline-block;
  max-width: 100%;
}

.public-page-header-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.public-page-header-stop-start {
  stop-color: rgba(var(--bs-primary-rgb), 0.08);
}

.public-page-header-stop-end {
  stop-color: rgba(var(--bs-primary-rgb), 0);
}

.public-page-header-band {
  fill: none;
}

.public-page-header-tab {
  fill: color-mix(in srgb, var(--bs-gray-100) 70%, transparent);
}

.public-page-header-line {
  fill: none;
  stroke: var(--bs-gray-200);
  stroke-width: 1;
}

.public-page-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2rem;
  color: var(--bs-gray-900);
}

/* The title sits in the middle of its 60px tab (public-page-header.js), the
   band above it as tall as the logo tab reaches. */
.public-page-header > .container {
  padding-top: 5.9rem;
  padding-bottom: 14px;
}

.public-hero-split {
  background: linear-gradient(160deg, rgba(var(--bs-primary-rgb), 0.08) 0%, transparent 70%);
}

/* The carousel runs the whole width of the screen. */
.public-hero-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .public-hero-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.public-hero-logo {
  width: auto;
  max-width: 90%;
  max-height: clamp(180px, 20vw, 340px);
  object-fit: contain;
}

.public-carousel {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

.public-carousel-image {
  display: block;
  width: 100%;
  height: clamp(260px, 24vw, 460px);
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .public-carousel-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* The slides are photos, so the controls stay white in the dark theme too. */
[data-bs-theme="dark"] .public-carousel .carousel-control-prev-icon,
[data-bs-theme="dark"] .public-carousel .carousel-control-next-icon {
  filter: none;
}

[data-bs-theme="dark"] .public-carousel .carousel-indicators [data-bs-target] {
  background-color: #fff;
}

.public-carousel-caption {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  padding: 4rem 2rem 2.75rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  /* Over the previous/next arrows, which cover the slide's sides: only the
     text and the button take clicks, the arrows still work around them. */
  pointer-events: none;
}

.public-carousel-caption > * {
  pointer-events: auto;
}

.public-carousel-caption p {
  max-width: 34rem;
}

/* Onde atuamos: the map fills the band; the panel floats over its left side
   (below it on small screens). */
.public-reach {
  position: relative;
  overflow: hidden;
  background: rgba(217, 235, 248, 0.6);
}

.public-reach-map {
  position: relative;
  height: 340px;
}

/* Same side margin as the hero, closer to the edge than the page's
   centred container. */
.public-reach-layer {
  position: relative;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  pointer-events: none;
}

.public-reach-panel {
  pointer-events: auto;
  position: relative;
  margin: -2rem 0 2rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 1rem 3rem rgba(15, 40, 80, 0.15);
}

@media (min-width: 992px) {
  .public-reach {
    min-height: clamp(560px, 42vw, 680px);
  }
  .public-reach-map {
    position: absolute;
    inset: 0;
    height: auto;
  }
  /* The list of places over the map's left side. */
  .public-reach-layer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 3rem;
  }
  .public-reach-panel {
    width: 360px;
    margin: 0;
  }
  .public-reach-places .public-reach-list {
    max-height: calc(100vh - 80px - 6rem - 5rem);
  }
}

.public-reach-places {
  margin-top: 0;
}

.public-reach-places-title {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-gray-600);
}

.public-reach-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 340px;
  overflow-y: auto;
  margin-right: -0.5rem;
  padding-right: 0.5rem;
}

.public-reach-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bs-gray-200);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  transition: border-color 0.2s, background 0.2s;
}

.public-reach-toggle:hover,
.public-reach-toggle:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.5);
  outline: none;
}

.public-reach-item.is-open > .public-reach-toggle {
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.05);
}

.public-reach-chevron {
  color: var(--bs-gray-600);
  transition: transform 0.25s;
}

.public-reach-item.is-open > .public-reach-toggle .public-reach-chevron {
  transform: rotate(180deg);
}

/* Height animates from zero to the content's own; closed content is also
   hidden from screen readers and the keyboard. */
.public-reach-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.public-reach-item.is-open > .public-reach-body {
  grid-template-rows: 1fr;
}

.public-reach-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.3s;
}

.public-reach-item.is-open > .public-reach-body > .public-reach-inner {
  visibility: visible;
  transition-delay: 0s;
}

.public-reach-inner {
  padding: 0 0.25rem 0 0.5rem;
}

.public-reach-item.is-open > .public-reach-body > .public-reach-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

/* The state's nuclei as a table: project (once for its nuclei), nucleus
   and lands. */
.public-reach-table-box {
  overflow: hidden;
  border: 1px solid var(--bs-gray-200);
  border-radius: 0.6rem;
}

.public-reach-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.public-reach-table thead th {
  padding: 0.5rem 0.65rem;
  background: var(--bs-gray-100);
  color: var(--bs-gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.public-reach-table thead th.text-end {
  text-align: right;
}

.public-reach-project {
  border-top: 1px solid var(--bs-gray-200);
}

.public-reach-project-name {
  padding: 0.4rem 0.65rem;
  border-right: 1px solid var(--bs-gray-200);
  color: var(--bs-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.public-reach-table td {
  padding: 0.4rem 0.65rem;
  vertical-align: middle;
}

.public-reach-name {
  color: var(--bs-gray-900);
  font-weight: 600;
}

.public-reach-table .public-reach-count {
  white-space: nowrap;
}

.public-reach-nucleus {
  cursor: default;
  outline: none;
}

/* On the nucleus' own cells: the project's spans its other rows too. */
.public-reach-nucleus > td {
  transition: background-color 0.15s;
}

.public-reach-nucleus:hover > td,
.public-reach-nucleus:focus-visible > td,
.public-reach-nucleus.is-active > td {
  background: rgba(var(--bs-primary-rgb), 0.1);
}

/* Nuclei of the municipality clicked on the map. */
.public-reach-nucleus.is-picked > td {
  background: rgba(var(--bs-primary-rgb), 0.16);
}

.public-reach-nucleus.is-picked > .public-reach-name {
  box-shadow: inset 3px 0 0 var(--bs-primary);
}

.public-reach-count {
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 2rem;
  background: var(--bs-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.public-reach-other {
  font-weight: 600;
  color: var(--bs-gray-800);
  cursor: default;
}

.public-reach-other.is-active,
.public-reach-other.is-picked {
  color: var(--bs-primary);
}

/* The state's flag. */
.public-region-uf {
  width: 3rem;
  height: 2rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* The chosen state's projects open in a card beside the list rather than
   under it. The card is placed against the panel, outside the list, so the
   list's scrolling doesn't clip it. */
.public-reach-flyout-head {
  display: none;
}

@media (min-width: 992px) {
  .public-reach-places {
    position: relative;
  }
  .public-reach-body {
    position: absolute;
    top: 0;
    left: calc(100% + 1rem);
    display: block;
    width: 340px;
    max-height: calc(100vh - 80px - 6rem);
    overflow-y: auto;
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 1rem 3rem rgba(15, 40, 80, 0.15);
    opacity: 0;
    transform: translateX(-0.75rem);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
  }
  .public-reach-item.is-open > .public-reach-body {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .public-reach-inner,
  .public-reach-item.is-open > .public-reach-body > .public-reach-inner {
    visibility: visible;
    padding: 1.25rem;
  }
  .public-reach-flyout-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bs-gray-200);
  }
  .public-reach-chevron,
  .public-reach-item.is-open > .public-reach-toggle .public-reach-chevron {
    transform: rotate(-90deg);
  }
}

[data-bs-theme="dark"] .public-reach-body {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .public-reach-body,
  .public-reach-inner,
  .public-reach-chevron {
    transition: none;
  }
}

/* Sizes and stroke widths come from public-map.js, kept constant on screen
   whatever the zoom; non-scaling strokes keep the borders thin. */
.public-map-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.public-map-state {
  fill: #fbfaf6;
  stroke: #c9d3de;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: fill 0.25s, opacity 0.25s;
}

.public-map-state.is-active {
  fill: rgba(var(--bs-primary-rgb), 0.22);
  stroke: rgba(var(--bs-primary-rgb), 0.75);
  stroke-width: 1.5;
  cursor: pointer;
}

.public-map-state.is-active:hover,
.public-map-state.is-active.is-selected {
  fill: rgba(var(--bs-primary-rgb), 0.34);
}

.public-map-state.is-active.is-muted {
  fill: rgba(var(--bs-primary-rgb), 0.08);
}

.public-map-labels {
  fill: var(--bs-gray-900);
  stroke: var(--bs-body-bg);
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  pointer-events: none;
}

.public-map-label {
  transition: opacity 0.25s;
}

.public-map-label.is-muted,
.public-map-marker.is-muted {
  opacity: 0.25;
}

.public-map-marker {
  transition: opacity 0.25s;
}

.public-map-point {
  fill: var(--bs-primary);
  stroke: var(--bs-body-bg);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: public-map-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  pointer-events: none;
}

.public-map-hit {
  fill: transparent;
  cursor: pointer;
}

/* The map is used by pointer; the panel's list is the keyboard's way in. */
.public-map-main,
.public-map-main *:focus {
  outline: none;
}

.public-map-point:hover,
.public-map-point.is-hover {
  fill: var(--bs-gray-900);
}

/* Radar-like rings: two per point, one after the other (public-map.js). */
.public-map-halo {
  fill: none;
  stroke: var(--bs-primary);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: public-map-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes public-map-pop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
}

@keyframes public-map-pulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(4);
  }
}

.public-map-tooltip {
  position: absolute;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  background: var(--bs-gray-900);
  color: var(--bs-body-bg);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 0.75rem));
  transition: opacity 0.15s;
}

.public-map-tooltip.is-visible {
  opacity: 1;
}

/* Dark theme: the system's own palette instead of the light sea and land. */
[data-bs-theme="dark"] .public-reach {
  background: transparent;
}

[data-bs-theme="dark"] .public-map-state {
  fill: var(--bs-gray-200);
  stroke: var(--bs-gray-400);
}

[data-bs-theme="dark"] .public-map-state.is-active {
  fill: rgba(var(--bs-primary-rgb), 0.3);
  stroke: var(--bs-primary);
}

[data-bs-theme="dark"] .public-map-state.is-active:hover,
[data-bs-theme="dark"] .public-map-state.is-active.is-selected {
  fill: rgba(var(--bs-primary-rgb), 0.45);
}

[data-bs-theme="dark"] .public-map-state.is-active.is-muted {
  fill: rgba(var(--bs-primary-rgb), 0.12);
}

[data-bs-theme="dark"] .public-reach-panel {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

.public-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.public-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .public-map-point,
  .public-map-halo {
    animation: none;
  }
  .public-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.public-marquee {
  overflow: hidden;
}

/* Out of the container's padding, so logos come and go at the screen edge. */
.public-first-partners .public-marquee {
  margin: 0 -1.5rem;
}

@media (min-width: 992px) {
  .public-first-partners .public-marquee {
    margin: 0 -3rem;
  }
}

/* A band of its own behind the logos, from edge to edge, in the neutral tone
   of the site's panels over the moving background. */
.public-first-partners .public-marquee {
  padding-block: 0.75rem;
  background: color-mix(in srgb, var(--bs-gray-100) 35%, transparent);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  border-block: 1px solid var(--bs-gray-200);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 40, 80, 0.06);
}

/* Two identical halves slide left by one half, so the loop never jumps;
   each logo carries its own spacing for the halves to match exactly. */
.public-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: public-marquee var(--marquee-duration, 40s) linear infinite;
}

.public-marquee-track > li {
  padding: 0 2.5rem;
}

.public-marquee:hover .public-marquee-track {
  animation-play-state: paused;
}

@keyframes public-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .public-marquee-track > li[aria-hidden="true"] {
    display: none;
  }
}

.public-news-featured .public-news-cover {
  aspect-ratio: 16 / 10;
}

.public-service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.public-service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-weight: 800;
}

/* Quem Somos: blocks slide in from below, the side or grow, one after the
   other within a row (--reveal-delay), as they are scrolled to. Hidden only
   once public-reveal.js is there to bring them back. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 0.15s);
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(-4rem);
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(4rem);
}

.reveal-ready [data-reveal="zoom"] {
  transform: scale(0.85);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Missão, Visão e Valores: the icon in front of the title. */
.public-about-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.public-about-card-head .public-contact-icon {
  margin: 0;
}

/* The figures in one card over Missão, Visão e Valores, split by thin
   lines (two by two on phones). */
.public-about-numbers-list + .row {
  margin-top: 0.5rem;
}

.public-about-numbers-list {
  margin-bottom: 2.5rem;
}

/* A little larger on Quem Somos' opening screen. */
.public-about-intro .public-about-numbers-list > li {
  padding: 2.4rem 1rem;
}

.public-about-intro .public-about-number {
  font-size: min(3.5rem, 100cqi / (var(--figure-chars) * 0.64));
}

.public-about-intro .row .card {
  min-height: 15rem;
  padding: 2.5rem !important;
}

.public-about-numbers-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.5rem 0;
  text-align: center;
}

/* Above the figure without pushing it down, so every figure stays in line. */
.public-about-number-top {
  position: absolute;
  top: 0.85rem;
  left: 0;
  right: 0;
  display: block;
  color: var(--bs-gray-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-about-numbers-list > li {
  padding: 1.75rem 1rem;
  /* The figure shrinks with its box instead of breaking in two. */
  container-type: inline-size;
}

.public-about-numbers-list > li + li {
  border-left: 1px solid var(--bs-gray-200);
}

.public-about-numbers-list > li:nth-child(3) {
  border-left: 0;
}

/* Two to a row on phones; one left over takes the whole row. */
@media (max-width: 767.98px) {
  .public-about-numbers-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-left: 0;
  }
}

@media (min-width: 768px) {
  .public-about-numbers-list {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
  }
  .public-about-numbers-list > li:nth-child(3) {
    border-left: 1px solid var(--bs-gray-200);
  }
}

.public-about-number {
  display: block;
  /* All the same size, small enough for the longest to fit its box. */
  font-size: min(3rem, 100cqi / (var(--figure-chars, 6) * 0.64));
  white-space: nowrap;
  font-weight: 800;
  line-height: 1;
  color: var(--bs-primary);
  font-variant-numeric: tabular-nums;
}

/* When the figures reach their totals they glow, and a band of light
   crosses the card once (public-reveal.js). */
.public-about-numbers-list {
  position: relative;
  overflow: hidden;
}

.public-about-numbers-list > li {
  position: relative;
  z-index: 1;
}

.public-about-number.is-done {
  animation: public-glow 1.4s ease-out;
}

@keyframes public-glow {
  30% {
    text-shadow: 0 0 18px var(--bs-primary), 0 0 36px var(--bs-primary);
    transform: scale(1.08);
  }
}

/* Cards the band of light also crosses: it passes under their content. */
[data-sweep] {
  overflow: hidden;
}

[data-sweep] > :not(.public-sweep) {
  position: relative;
  z-index: 1;
}

.public-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -360px;
  z-index: 0;
  width: 360px;
  background: linear-gradient(105deg, transparent 15%, rgba(var(--bs-primary-rgb), 0.16) 50%, transparent 85%);
  animation: public-sweep 1s linear forwards;
  pointer-events: none;
}

@keyframes public-sweep {
  to {
    transform: translateX(var(--sweep-to));
  }
}

.public-about-number-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bs-gray-600);
}

/* The timeline: a line down the middle, milestones on alternate sides; on
   small screens the line runs down the left. */
.public-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2.5rem;
}

.public-timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.6rem;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.15), var(--bs-primary), rgba(var(--bs-primary-rgb), 0.15));
}

.public-timeline-item {
  position: relative;
}

.public-timeline-dot {
  position: absolute;
  top: 1.6rem;
  left: -2.4rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 3px solid var(--bs-body-bg);
  border-radius: 50%;
  background: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.2);
}

.public-timeline-card {
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.07);
}

/* A milestone's photos: a row under the card on small screens; on large ones
   a column beside it, on the outer side, tied to the card by thin lines. */
.public-timeline-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.public-timeline-photo a {
  position: relative;
  display: block;
  width: 11rem;
  height: 7.25rem;
  overflow: hidden;
  border-radius: 0.6rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
  cursor: zoom-in;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}

.public-timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Under the pointer a photo grows to about twice its size, over everything
   around it. */
.public-timeline-photo:hover,
.public-timeline-photo:focus-within {
  z-index: 5;
}

.public-timeline-photo a:hover,
.public-timeline-photo a:focus-visible {
  transform: scale(2);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

/* The photo opened large over the page (public-timeline.js). */
.public-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4.5rem;
  background: rgba(8, 10, 18, 0.88);
  opacity: 0;
  transition: opacity 0.25s;
}

.public-lightbox.is-open {
  opacity: 1;
}

.public-lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-lightbox.is-open .public-lightbox-figure {
  transform: none;
}

.public-lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  border-radius: 0.75rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.public-lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
}

.public-lightbox-button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.25rem;
  transition: background 0.2s;
}

.public-lightbox-button:hover,
.public-lightbox-button:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.public-lightbox-button i {
  color: inherit;
  font-size: inherit;
}

.public-lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.public-lightbox-prev {
  left: 1.25rem;
}

.public-lightbox-next {
  right: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .public-timeline-photo a,
  .public-lightbox,
  .public-lightbox-figure {
    transition: none;
  }
}

/* They come in one by one after their milestone. */
.reveal-ready .public-timeline-photo {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
  /* Each photo arrives as its line reaches it (public-timeline.js). */
  transition-delay: calc(1.05s + (var(--photo-delay) - 1) * 0.25s);
}

.reveal-ready .is-revealed .public-timeline-photo {
  opacity: 1;
  transform: none;
}

.public-timeline-year {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .public-timeline {
    padding-left: 0;
  }
  .public-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .public-timeline-item {
    width: 50%;
    padding-right: 3rem;
  }
  .public-timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-right: 0;
    padding-left: 3rem;
  }
  .public-timeline-item:nth-child(odd) .public-timeline-card {
    text-align: right;
  }
  .public-timeline-dot {
    left: auto;
    right: -0.55rem;
  }
  .public-timeline-item:nth-child(even) .public-timeline-dot {
    right: auto;
    left: -0.55rem;
  }
  /* The photos spread out from the card's outer side: one up, one down and,
     between them and further out, a larger one that leads the milestone;
     public-timeline.js draws the lines that tie each to the card. Items with
     photos get room above and below. */
  .public-timeline-item.has-photos {
    margin-top: 12rem;
    margin-bottom: 12rem;
  }
  .public-timeline-body {
    position: relative;
  }
  .has-photos .public-timeline-card {
    width: min(100%, 19rem);
  }
  .public-timeline-item:nth-child(odd).has-photos .public-timeline-card {
    margin-left: auto;
  }
  /* The featured photo sits past the other two, out into the page's margin
     as far as the window allows (--page: the container's width here; --edge:
     how far out it may reach). Up to 25.5rem wide, narrower where the window
     leaves less room. */
  .public-timeline {
    --page: 960px;
  }
  .public-timeline-photos {
    --edge: calc(100% + (100vw - var(--page)) / 2 - 2.5rem);
    --featured-width: min(25.5rem, calc(var(--edge) - 21rem));
    --featured-at: min(44rem, calc(var(--edge) - var(--featured-width)));
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
  }
  .public-timeline-photo {
    position: absolute;
  }
  .public-timeline-photo:nth-child(1) {
    top: -13rem;
    left: calc(min(100%, 19rem) + 1.5rem);
  }
  .public-timeline-photo:nth-child(2) {
    z-index: 2;
    top: 50%;
    width: var(--featured-width);
    margin-top: calc(var(--featured-width) / -3);
    left: var(--featured-at);
  }
  .public-timeline-photo:nth-child(2) a {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  }
  .public-timeline-photo:nth-child(2) a:hover,
  .public-timeline-photo:nth-child(2) a:focus-visible {
    transform: scale(1.15);
  }
  .public-timeline-photo:nth-child(3) {
    bottom: -13rem;
    left: calc(min(100%, 19rem) + 1.5rem);
  }
  .public-timeline-item:nth-child(odd) .public-timeline-photo:nth-child(1),
  .public-timeline-item:nth-child(odd) .public-timeline-photo:nth-child(3) {
    left: auto;
    right: calc(min(100%, 19rem) + 1.5rem);
  }
  .public-timeline-item:nth-child(odd) .public-timeline-photo:nth-child(2) {
    left: auto;
    right: var(--featured-at);
  }
  .public-timeline-ties {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  /* Each line draws from the card out to its photo as the milestone comes
     in, then a neon glow under it breathes slowly. */
  .public-timeline-ties .tie {
    fill: none;
    stroke: rgba(var(--bs-primary-rgb), 0.8);
    stroke-width: 2;
  }
  .public-timeline-ties .tie-glow {
    fill: none;
    stroke: var(--bs-primary);
    stroke-width: 7;
    opacity: 0.18;
    filter: blur(3px);
    animation: public-tie-breathe 2.6s ease-in-out infinite;
  }
  .reveal-ready .public-timeline-ties .tie {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
    transition: stroke-dashoffset 0.9s ease-out var(--d);
  }
  .reveal-ready .is-revealed .public-timeline-ties .tie {
    stroke-dashoffset: 0;
  }
  .reveal-ready .public-timeline-ties .tie-glow {
    opacity: 0;
    animation: none;
  }
  .reveal-ready .is-revealed .public-timeline-ties .tie-glow {
    animation: public-tie-show 0.6s ease 2s forwards, public-tie-breathe 2.6s ease-in-out 2.6s infinite;
  }
  @keyframes public-tie-show {
    to {
      opacity: 0.18;
    }
  }
  @keyframes public-tie-breathe {
    0%,
    100% {
      opacity: 0.18;
    }
    50% {
      opacity: 0.5;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* A Quem Somos section's gallery: a ring of photos turning in 3D
   (public-ring.js places and turns them). */
.public-ring {
  --ring-width: clamp(20rem, 30vw, 30.4rem);
  position: relative;
  height: calc(var(--ring-width) * 2 / 3 + 12rem);
  perspective: 1600px;
  user-select: none;
  touch-action: pan-y;
}

.public-ring-track {
  position: absolute;
  top: 48%;
  left: 62%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.public-ring-item {
  position: absolute;
  top: calc(var(--ring-width) / -3);
  left: calc(var(--ring-width) / -2);
  width: var(--ring-width);
  height: calc(var(--ring-width) * 2 / 3);
}

.public-ring-item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  cursor: zoom-in;
}

.public-ring-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.public-ring-controls {
  position: absolute;
  bottom: 0;
  left: 62%;
  display: flex;
  gap: 0.75rem;
  transform: translateX(-50%);
}

.public-ring-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--bs-gray-300);
  border-radius: 50%;
  background: var(--bs-body-bg);
  color: var(--bs-gray-800);
  transition: background 0.2s, color 0.2s;
}

.public-ring-button:hover,
.public-ring-button:focus-visible {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

.public-ring-button i {
  color: inherit;
}

/* Contato: a card per way of reaching the company, its hours and social
   profiles, the message form beside the map, and the questions. */
.public-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.public-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.public-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.12);
}

.public-contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0.85rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 1.4rem;
}

.public-contact-card-icon i {
  color: inherit;
  font-size: inherit;
}

.public-contact-card-icon.is-small {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* The icon with the channel's name beside it, the details under both. */
.public-contact-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.public-contact-card-head .public-contact-card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.public-contact-card-head .public-contact-card-title {
  margin-bottom: 0;
}

.public-contact-card-title {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-gray-900);
}

.public-contact-card-action {
  align-self: stretch;
  margin-top: auto;
  text-align: center;
}

.public-contact-lines {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

/* Each phone or e-mail in a box of its own, the whole box the link. */
.public-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--bs-gray-200);
  border-radius: 0.7rem;
  background: var(--bs-gray-100);
  transition: border-color 0.2s, background-color 0.2s;
}

.public-contact-item:hover,
.public-contact-item:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.45);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.public-contact-item.is-address {
  padding: 1rem 1.1rem;
}

.public-contact-item.is-address .public-contact-item-text {
  gap: 0.2rem;
}

.public-contact-item.is-address .public-contact-item-note {
  margin-top: 0;
  font-size: inherit;
}

.public-contact-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.public-contact-item-value {
  font-weight: 600;
  color: var(--bs-gray-800);
  overflow-wrap: anywhere;
}

.public-contact-item-note {
  margin-top: 0.1rem;
  font-size: 0.85rem;
  color: var(--bs-gray-600);
}

.public-contact-item i {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--bs-gray-500);
  transition: color 0.2s;
}

.public-contact-choose {
  padding: 0.4rem;
  border: 1px solid var(--bs-gray-300);
  border-radius: 0.7rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.public-contact-choose .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  font-weight: 600;
  white-space: normal;
}

.public-contact-choose .dropdown-item i {
  color: var(--bs-primary);
}

.public-contact-choose .dropdown-item small {
  font-weight: 400;
  color: var(--bs-gray-600);
}

.public-contact-item:hover i,
.public-contact-item:focus-visible i,
.public-contact-item:hover .public-contact-item-value {
  color: var(--bs-primary);
}

.public-contact-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.public-contact-social {
  display: flex;
  flex-direction: column;
}

.public-contact-hours,
.public-contact-social {
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.07);
}

.public-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  background: rgba(var(--bs-danger-rgb), 0.12);
  color: var(--bs-danger);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.public-open-badge.is-open {
  background: rgba(var(--bs-success-rgb), 0.14);
  color: var(--bs-success);
}

.public-open-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.public-open-badge.is-open .public-open-dot {
  animation: public-open-pulse 1.8s ease-in-out infinite;
}

@keyframes public-open-pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(var(--bs-success-rgb), 0.25);
  }
}

.public-hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--bs-gray-200);
}

.public-hours-list > div:first-child {
  border-top: 0;
}

.public-hours-list dt {
  font-weight: 600;
  color: var(--bs-gray-800);
}

.public-hours-list dd {
  margin: 0;
  color: var(--bs-gray-700);
  font-variant-numeric: tabular-nums;
}

/* Each profile: a large icon with its name under it. */
.public-social-tiles {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  gap: 1.5rem 1rem;
}

.public-social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 5.5rem;
  color: var(--bs-gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.public-social-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border: 1px solid var(--bs-gray-300);
  border-radius: 1.15rem;
  color: var(--bs-gray-800);
  font-size: 2.1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.public-social-tile-icon i {
  color: inherit;
  font-size: inherit;
}

/* Each network in its own colour; under the pointer the tile fills with it. */
.public-social-tile {
  --brand: var(--bs-primary);
  --brand-ink: #ffffff;
}

.public-social-tile.is-bi-linkedin { --brand: #0a66c2; }
.public-social-tile.is-bi-instagram { --brand: #e4405f; }
.public-social-tile.is-bi-facebook { --brand: #1877f2; }
.public-social-tile.is-bi-youtube { --brand: #ff0000; }
/* X and TikTok are black; on the dark theme, white. */
.public-social-tile.is-bi-twitter-x,
.public-social-tile.is-bi-tiktok {
  --brand: #000000;
}

[data-bs-theme="dark"] .public-social-tile.is-bi-twitter-x,
[data-bs-theme="dark"] .public-social-tile.is-bi-tiktok {
  --brand: #ffffff;
  --brand-ink: #000000;
}

.public-social-tile .public-social-tile-icon {
  color: var(--brand);
}

.public-social-tile.is-bi-instagram .public-social-tile-icon i {
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.public-social-tile.is-bi-tiktok .public-social-tile-icon i {
  text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55;
}

.public-social-tile:hover,
.public-social-tile:focus-visible {
  color: var(--brand);
}

.public-social-tile:hover .public-social-tile-icon,
.public-social-tile:focus-visible .public-social-tile-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: translateY(-3px);
}

.public-social-tile.is-bi-instagram:hover .public-social-tile-icon,
.public-social-tile.is-bi-instagram:focus-visible .public-social-tile-icon {
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
}

.public-social-tile.is-bi-instagram:hover .public-social-tile-icon i,
.public-social-tile.is-bi-instagram:focus-visible .public-social-tile-icon i {
  background: none;
  color: #ffffff;
}

.public-message-modal {
  border: 0;
  border-radius: 1rem;
  padding: 0.5rem;
}

.public-message-modal .form-control {
  background: var(--bs-gray-100);
}

/* The message form as the system's forms: the label inside the field,
   small and in capitals, moving up once there is something in it. */
.public-message-fields .form-floating > .form-control {
  height: calc(3.5rem + 2px);
  min-height: calc(3.5rem + 2px);
  background: var(--bs-gray-100);
}

.public-message-fields .form-floating > textarea.form-control {
  height: 9rem;
}

.public-message-fields .form-floating > label {
  color: var(--bs-gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.public-message-fields .form-floating > .form-control:focus ~ label,
.public-message-fields .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--bs-gray-600);
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
}

.public-message-fields .form-floating > label::after {
  background: transparent !important;
}

/* The subject: its own button, with the same floating label. */
.public-floating-select .public-select {
  position: relative;
}

.public-floating-select .public-select-button {
  min-height: calc(3.5rem + 2px);
  background-image: none;
  padding-top: 1.45rem;
  padding-bottom: 0.45rem;
}

.public-floating-select .public-select > label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 1rem 0.75rem;
  color: var(--bs-gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.1s ease-in-out;
}

.public-floating-select .public-select.has-value > label,
.public-floating-select .public-select.is-open > label {
  color: var(--bs-gray-600);
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
}

/* Required fields: a small "!" at the right, gone once filled in. */
.public-required-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  z-index: 3;
  color: var(--bs-gray-500);
  font-size: 0.95rem;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 0.15s;
}

.public-message-fields textarea ~ .public-required-icon {
  top: 1.35rem;
}

.public-message-fields .form-control:not(:placeholder-shown) ~ .public-required-icon,
.public-floating-select .public-select.has-value > .public-required-icon {
  opacity: 0;
}

.public-required-icon.is-inline {
  position: static;
  margin-left: 0.25rem;
  font-size: 0.8rem;
  transform: none;
  vertical-align: baseline;
}

.public-file-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--bs-gray-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* "Já sou cliente" or not, as two cards. */
.public-client-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-client-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-gray-300);
  border-radius: 0.65rem;
  color: var(--bs-gray-800);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.public-client-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-client-option i {
  font-size: 1.25rem;
  color: var(--bs-gray-500);
}

.public-client-option:has(input:checked) {
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-gray-900);
}

.public-client-option:has(input:checked) i {
  color: var(--bs-primary);
}

.public-client-option:has(input:focus-visible) {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Off screen for people, filled only by bots (ContactMessageForm). */
.public-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Dúvidas: the questions as numbered cards, two by two, with a search; the
   form below beside its call. */
.public-faq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
  padding: 0 0.5rem;
}

.public-faq-search {
  position: relative;
  flex: 0 1 22rem;
  margin: 0;
}

.public-faq-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--bs-gray-500);
  transform: translateY(-50%);
  pointer-events: none;
}

.public-faq-search .form-control {
  padding-left: 2.75rem;
  border-radius: 2rem;
  background: var(--bs-body-bg);
}

.public-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* On phones the two stacks melt into one list, back in number order. */
.public-faq-column {
  display: contents;
}

@media (min-width: 768px) {
  .public-faq-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .public-faq-column {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }
}

.public-faq-card summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
}

.public-faq-card summary::-webkit-details-marker {
  display: none;
}

.public-faq-number {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-weight: 800;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}

.public-faq-card[open] .public-faq-number {
  background: var(--bs-primary);
  color: #ffffff;
}

.public-faq-question {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bs-gray-900);
}

.public-faq-chevron {
  flex-shrink: 0;
  color: var(--bs-primary);
  transition: transform 0.25s;
}

.public-faq-card[open] .public-faq-chevron {
  transform: rotate(180deg);
}

.public-faq-answer {
  padding: 0 1.5rem 1.4rem calc(1.5rem + 2.75rem + 1rem);
  color: var(--bs-gray-700);
}

.public-faq-empty {
  margin: 1.5rem 0 0;
  padding: 0 0.5rem;
  color: var(--bs-gray-600);
}

.public-faq-panel {
  padding: 2.5rem 2rem 2rem;
}

.public-faq-message.has-faq {
  margin-top: 2.5rem;
  padding: 2.5rem 0.5rem 0;
  border-top: 1px solid var(--bs-gray-200);
}

.public-faq-form {
  padding: 2rem;
}

.public-faq-form .form-control {
  background: var(--bs-gray-100);
}

/* The subject (public-select.js): a button like the inputs beside it and a
   list of options with icons, in the site's style. */
.public-select {
  position: relative;
}

.public-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.public-select-button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: calc(1.5em + 1.55rem + 2px);
  text-align: left;
  background-color: var(--bs-gray-100);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231b84ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-size: 14px 10px;
  color: var(--bs-gray-800);
  cursor: pointer;
}

.public-select-button.is-placeholder {
  color: var(--bs-gray-500);
}

.public-select.is-open .public-select-button {
  border-color: var(--bs-primary);
}

.public-select-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 27rem;
  margin: 0;
  padding: 0.4rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--bs-gray-200);
  border-radius: 0.85rem;
  background: var(--bs-body-bg);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25);
  animation: public-select-in 0.16s ease-out;
}

@keyframes public-select-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
}

.public-select-list [role="option"] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  color: var(--bs-gray-800);
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.public-select-list [role="option"]:hover,
.public-select-list [role="option"]:focus {
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-gray-900);
}

.public-select-list [role="option"][aria-selected="true"] {
  color: var(--bs-primary);
}

.public-select-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 1rem;
}

.public-select-icon.is-small {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.85rem;
}

.public-select-icon i {
  color: inherit;
}

.public-select-text {
  flex: 1;
}

.public-select-check {
  color: var(--bs-primary);
  visibility: hidden;
}

[aria-selected="true"] > .public-select-check {
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .public-select-list {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-contact-card,
  .public-faq-chevron {
    transition: none;
  }
  .public-open-badge.is-open .public-open-dot {
    animation: none;
  }
}

/* Pages of news: arrows on either side of up to five page numbers. */
.public-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.public-pager-page,
.public-pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 0.6rem;
  color: var(--bs-gray-800);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.public-pager a:hover,
.public-pager a:focus-visible {
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
}

.public-pager-page.is-current {
  background: var(--bs-primary);
  color: #ffffff;
}

.public-pager-arrow i {
  color: inherit;
  font-size: 1rem;
}

.public-pager-gap {
  padding: 0 0.25rem;
  color: var(--bs-gray-600);
  font-weight: 600;
}

.public-pager-arrow.is-disabled {
  opacity: 0.35;
}

/* The news page leads with the latest news across the whole row. */
.public-news-lead {
  position: relative;
  display: grid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08);
}

.public-news-lead-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.public-news-lead-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
}

.public-news-lead-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.public-news-lead-summary {
  margin: 0;
  color: var(--bs-gray-700);
  font-size: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-news-lead-more {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .public-news-lead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .public-news-lead-image {
    height: 100%;
    min-height: 320px;
    max-height: 380px;
    aspect-ratio: auto;
  }
  .public-news-lead-body {
    padding: 2.5rem 3rem;
  }
}

/* Início's news: the featured one in a big square, four beside it and a row
   of five more below. */
.public-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.public-news-head .public-section-title {
  text-align: left;
}

.public-news-top {
  display: grid;
  gap: 1.25rem;
}

.public-news-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0a4fb8 100%);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

.public-news-feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.public-news-feature:hover .public-news-feature-image {
  transform: scale(1.04);
}

.public-news-feature-body {
  position: relative;
  width: 100%;
  padding: 4rem 1.75rem 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
}

.public-news-feature-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
  background: var(--bs-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-news-badge i {
  color: inherit;
  font-size: 0.7rem;
}

.public-news-grid {
  display: grid;
  gap: 1.25rem;
}

.public-news-tile {
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
}

.public-news-tile-image {
  flex: 0 0 40%;
  width: 40%;
  min-height: 140px;
  object-fit: cover;
}

.public-news-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem 1.1rem;
}

.public-news-tile-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-news-tile-summary {
  margin: 0;
  color: var(--bs-gray-700);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-news-row {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.public-news-line {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-gray-200);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  transition: border-color 0.2s;
}

.public-news-line:hover {
  border-color: var(--bs-primary);
}

.public-news-line-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .public-news-grid,
  .public-news-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .public-news-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .public-news-top.is-alone {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .public-news-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .public-news-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-news-feature-image {
    transition: none;
  }
}

.public-section-image {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* Parceiros: two per row; a partner with a site is a link as a whole. */
.public-partner-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .public-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-partner-grid > li {
  display: flex;
}

.public-partner-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.07);
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}

@media (min-width: 576px) {
  .public-partner-card {
    flex-direction: row;
    align-items: center;
  }
}

.public-partner-card.is-link:hover,
.public-partner-card.is-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.14);
}

.public-partner-card.is-link:hover h2,
.public-partner-card.is-link:focus-visible h2 {
  color: var(--bs-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  .public-partner-card {
    transition: none;
  }
}

.public-partner-logo {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-partner-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* A job: the title and summary up top, the lists of what it involves on
   the left and, on the right, its facts and how to apply, kept in view. */
.public-job-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
  color: var(--bs-gray-700);
}

.public-job-back:hover,
.public-job-back:focus-visible {
  color: var(--bs-primary);
}

.public-job-back i {
  color: inherit;
}

.public-job-hero {
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.public-job-area {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-job-title {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--bs-gray-900);
}

.public-job-summary {
  max-width: 48rem;
  margin: 0;
  font-size: 1.15rem;
  color: var(--bs-gray-700);
}

/* One translucent panel around a page's content (a job: its title, lists
   and side cards; the questions on Dúvidas). */
.public-panel,
.public-job-panel {
  padding: 2.25rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--bs-gray-100) 70%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.public-job-layout {
  display: grid;
  gap: 1.5rem;
}

.public-job-main {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .public-job-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-job-main > :only-child {
    grid-column: 1 / -1;
  }
}

/* The surface comes from .card, as on the list of jobs. */
.public-job-block,
.public-job-card {
  padding: 1.75rem;
}

.public-job-block-title,
.public-job-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-gray-900);
}

.public-job-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.public-job-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--bs-gray-800);
}

.public-job-list i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--bs-primary);
  font-size: 1.1rem;
}

.public-job-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.public-job-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--bs-gray-200);
}

.public-job-facts > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.public-job-facts dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--bs-gray-600);
}

.public-job-facts dt i {
  color: var(--bs-primary);
}

.public-job-facts dd {
  margin: 0;
  font-weight: 700;
  color: var(--bs-gray-900);
  text-align: right;
}

.public-job-card.is-apply {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0a4fb8 100%);
  color: rgba(255, 255, 255, 0.9);
}

.public-job-card.is-apply .public-job-card-title {
  color: #ffffff;
}

.public-job-card.is-apply .public-contact-card-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.public-job-card.is-apply a:not(.btn) {
  color: #ffffff;
  text-decoration: underline;
}

.public-job-actions {
  display: flex;
  flex-direction: column;
  margin-block: auto;
  gap: 0.6rem;
}

.public-job-card.is-apply .btn-primary,
.public-job-card.is-apply .btn-primary:hover {
  background: #ffffff;
  color: var(--bs-primary);
}

.public-job-card.is-apply .btn-light-primary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.public-job-card.is-apply .btn i {
  color: inherit;
}

/* One grid for the lists and the side cards, so each row of lists is as
   tall as the card beside it. */
@media (min-width: 992px) {
  .public-job-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 22rem;
  }
  .public-job-main,
  .public-job-aside {
    display: contents;
  }
  .public-job-aside > .public-job-card {
    grid-column: 3;
    grid-row: 1;
  }
  .public-job-aside > .public-job-card.is-apply {
    grid-row: 2;
  }
  .public-job-main > :only-child {
    grid-column: 1 / 3;
  }
}

/* The title in the middle, the link to the partners page on the right. */
.public-partners-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.public-partners-head > a {
  justify-self: end;
}

.public-partners-title {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bs-gray-900);
}

.public-first-partners {
  padding-top: 1.5rem;
}

/* Início in screens on large screens: carousel and partners, then the map,
   then the rest; scrolling settles on each one. Smaller screens just scroll. */
@media (min-width: 1200px) {
  html:has(.public-screen) {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 80px;
  }
  .public-screen {
    min-height: calc(100vh - 80px);
    scroll-snap-align: start;
  }
  .public-first {
    display: flex;
    height: calc(100vh - 80px);
  }
  .public-first > .public-hero-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding-bottom: 1.5rem !important;
  }
  /* The carousel takes whatever height the partners leave. */
  .public-first .public-carousel {
    flex: 1 1 auto;
    min-height: 0;
  }
  .public-first .carousel-inner,
  .public-first .carousel-item,
  .public-first .public-carousel-image {
    height: 100%;
  }
  .public-reach.public-screen {
    min-height: calc(100vh - 80px);
  }
  /* The last screen holds the news and the footer (its height measured by
     the page's script), so both fit in the window together. */
  .public-screen-rest {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px - var(--public-footer-h, 170px));
  }
  .public-screen-rest > .public-section {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 1.75rem;
  }
  /* The square follows the window's height, so the row below still fits. */
  .public-screen-rest .public-news-feature {
    aspect-ratio: auto;
    height: clamp(300px, calc(100vh - 337px - var(--public-footer-h, 170px)), 580px);
  }
  .public-screen-rest > .public-section > .container {
    width: 100%;
  }
  .public-footer {
    scroll-snap-align: end;
  }
}

/* The container's width at each size, for the timeline's featured photos;
   after the rule that sets the smallest one. */
@media (min-width: 1200px) {
  .public-timeline {
    --page: 1140px;
  }
}

@media (min-width: 1400px) {
  .public-timeline {
    --page: 1320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-timeline-ties .tie-glow {
    animation: none;
  }
}

/* Quem Somos in screens on large screens, as on Início: the title with the
   numbers and Missão/Visão/Valores, then the history (scrolling freely
   inside, it is taller than the window), and each free section. Smaller screens just scroll. */
@media (min-width: 1200px) {
  /* Proximity, not mandatory: the history is much taller than the window
     and a mandatory snap would not let the wheel through it. */
  html:has(.public-about-intro) {
    scroll-snap-type: y proximity;
    scroll-padding-top: 80px;
  }
  .public-page-header:has(+ .public-about-intro) {
    scroll-snap-align: start;
  }
  /* The title's band above it is 117px tall. */
  .public-about-intro {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px - 117px);
  }
  .public-screen-middle {
    display: flex;
    align-items: center;
  }
  .public-about-intro > .container,
  .public-screen-middle > .container {
    width: 100%;
  }
}

/* X's logo, missing from the Bootstrap Icons version the theme bundles. */
.bi-twitter-x::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/%3E%3C/svg%3E") center / contain no-repeat;
}
