/* ============================================================
   uo-show.css
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

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

.hero {
  position: relative;
  min-height: calc(72vh + 30px);
  padding-bottom: 10px;
  margin-bottom: 15px;
  isolation: isolate;
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  min-height: inherit;
}

.hero-slides {
  display: flex;
  height: calc(72vh + 30px);
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  z-index: 0;
  flex: 0 0 100%;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-slide::before {
  background: var(--bg-alt);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-slide::after {
  background: linear-gradient(100deg, rgba(4, 16, 26, 0.76), rgba(4, 16, 26, 0.34) 45%, rgba(4, 16, 26, 0.55));
  z-index: -1;
}

.hero-content {
  min-height: inherit;
  display: grid;
  align-content: center;
  gap: 1rem;
  color: #edf8ff;
  padding-block: 9rem 4rem;
  max-width: 760px;
  transform: translateY(-5px);
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  font-size: clamp(2.1rem, 5.5vw, 4.1rem);
}

.hero-content h1 + p {
  transform: translateY(-5px);
}

.hero-views {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  margin-bottom: 5px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(237, 248, 255, 0.85);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(237, 248, 255, 0.18);
  border-radius: 999px;
  padding: 0.34rem 1rem 0.34rem 0.7rem;
  width: fit-content;
  letter-spacing: 0.01em;
  transform: translateY(-14.5px);
}

.hero-views svg {
  flex-shrink: 0;
  color: rgba(237, 248, 255, 0.9);
}

.hero-views-count {
  font-weight: 700;
  color: #fff;
}

.hero p {
  margin: 0;
  max-width: 60ch;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.5rem;
}

.dot {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(237, 248, 255, 0.4);
}

.dot.is-active {
  background: var(--primary);
}

.hero-social {
  position: absolute;
  right: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
  left: auto;
  bottom: 1.1rem;
  display: flex;
  gap: 0.55rem;
  z-index: 2;
}

.hero .hero-social {
  right: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
  left: auto;
  bottom: 1.1rem;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(237, 248, 255, 0.45);
  background: rgba(4, 16, 26, 0.45);
  color: #edf8ff;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.hero-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-social-link:hover {
  transform: translateY(-2px);
}

.hero-social-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.hero-social-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.hero-social-wa:hover {
  background: #25d366;
  border-color: #25d366;
}

.hero-social-ig:hover {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 52%, #6228d7 100%);
  border-color: #ee2a7b;
}

#fca-conteudo {
  background:
    radial-gradient(circle at top left, rgba(0, 176, 240, 0.12), transparent 38%),
    linear-gradient(160deg, #f8fcff 0%, #edf6fb 100%);
}

.fca-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.fca-main,
.fca-side {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 72%, #ffffff 28%), var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(7, 25, 38, 0.1);
}

.fca-main {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.fca-main h2,
.fca-main h3,
.fca-main p,
.fca-main figcaption,
.fca-main td,
.fca-main th {
  color: #1b2d3b;
}

.fca-main h2 {
  margin: 0 0 0.95rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.25;
}

.fca-main h3 {
  margin: 1.2rem 0 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
}

.fca-main p {
  margin: 0 0 0.8rem;
  line-height: 1.72;
}

.fca-accordion-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.fca-accordion-item {
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  overflow: hidden;
}

.fca-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.fca-accordion-summary:hover,
.fca-accordion-summary:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  background: color-mix(in srgb, var(--primary) 14%, #fff 86%);
  transform: translateY(-1px);
  outline: none;
}

.fca-accordion-summary::-webkit-details-marker {
  display: none;
}

.fca-accordion-summary strong {
  display: block;
  font-size: 1rem;
  color: #143447;
}

.fca-accordion-summary small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.83rem;
  color: #4b6576;
}

.fca-accordion-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  border-radius: 999px;
  background: #fff;
  color: #04688f;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}

.fca-accordion-item[open] .fca-accordion-icon {
  transform: rotate(45deg);
}

.fca-accordion-body {
  margin-top: 0.55rem;
  padding: 0.2rem 0.18rem 0.1rem;
}

.fca-accordion-body > :last-child {
  margin-bottom: 0;
}

.fca-group-block + .fca-group-block {
  margin-top: 1.2rem;
}

.fca-group-block h3 {
  margin: 0 0 0.7rem;
}

.fca-accordion-section {
  margin-top: 0.9rem;
}

.fca-accordion-section-title {
  margin: 0 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  color: #17384d;
}

.fca-person-list,
.fca-tag-list,
.fca-accordion-meta {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #2b4557;
}

.fca-person-list li,
.fca-tag-list li {
  line-height: 1.5;
}

.fca-person-degree {
  display: inline-block;
  min-width: 2.4rem;
  margin-right: 0.35rem;
  font-weight: 700;
  color: #04688f;
}

.fca-person-list a,
.fca-download-link {
  color: #04688f;
  font-weight: 600;
  text-decoration: none;
}

.fca-person-list a:hover,
.fca-download-link:hover {
  text-decoration: underline;
}

.fca-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fca-accordion-meta {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #2b4557;
}

.fca-image-wrap {
  margin: 1rem 0;
}

.fca-image-wrap img {
  width: 100%;
  min-height: 350px;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.fca-image-wrap figcaption {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: rgba(27, 45, 59, 0.82);
}

.fca-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 0.35rem;
}

.fca-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.fca-table th,
.fca-table td {
  padding: 0.78rem 0.7rem;
  border: 1px solid rgba(0, 112, 176, 0.22);
  text-align: left;
  font-size: 0.95rem;
}

.fca-table thead th {
  background: rgba(0, 176, 240, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.fca-side {
  position: sticky;
  top: 5.7rem;
  padding: 0.95rem;
  display: grid;
  gap: 0.9rem;
}

.fca-side-menu {
  display: grid;
  gap: 0.45rem;
}

.fca-side-menu a {
  text-decoration: none;
  color: #16374a;
  background: #f3fafe;
  border: 1px solid rgba(0, 112, 176, 0.2);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.fca-side-menu a:hover {
  transform: translateX(4px);
  background: rgba(0, 176, 240, 0.14);
  border-color: rgba(0, 112, 176, 0.4);
}

.fca-side-text,
.fca-contacto {
  background: #f7fcff;
  border: 1px solid rgba(0, 112, 176, 0.18);
  padding: 0.8rem;
}

.fca-side-text h3,
.fca-contacto h3 {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: #17384d;
}

.fca-side-text p {
  margin: 0 0 0.65rem;
  color: #2b4557;
  font-size: 0.95rem;
  line-height: 1.62;
}

.fca-contacto ul {
  margin: 0;
  padding-left: 1rem;
  color: #2b4557;
  display: grid;
  gap: 0.4rem;
}

.fca-contacto li {
  font-size: 0.92rem;
  line-height: 1.45;
}

body.dark #fca-conteudo {
  background: transparent;
}

body.dark .fca-main,
body.dark .fca-side {
  background: var(--surface-strong);
  border-color: rgba(167, 211, 237, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

body.dark .fca-main h2,
body.dark .fca-main h3,
body.dark .fca-main p,
body.dark .fca-main figcaption,
body.dark .fca-main td,
body.dark .fca-main th,
body.dark .fca-side-text h3,
body.dark .fca-contacto h3,
body.dark .fca-side-text p,
body.dark .fca-contacto ul {
  color: var(--text);
}

body.dark .fca-table th,
body.dark .fca-table td {
  border-color: rgba(167, 211, 237, 0.22);
}

body.dark .fca-table thead th {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

body.dark .fca-side-menu a,
body.dark .fca-side-text,
body.dark .fca-contacto,
body.dark .fca-accordion-item {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: rgba(167, 211, 237, 0.24);
  color: var(--text);
}

body.dark .fca-accordion-list {
  background: rgba(12, 38, 56, 0.65);
  border-color: rgba(121, 219, 255, 0.24);
}

body.dark .fca-accordion-summary {
  background: #0c2638;
  border-color: rgba(121, 219, 255, 0.42);
}

body.dark .fca-accordion-summary strong,
body.dark .fca-accordion-summary small,
body.dark .fca-accordion-meta {
  color: var(--text);
}

body.dark .fca-accordion-icon {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-color: rgba(167, 211, 237, 0.24);
  color: #bdeefe;
}

@media (max-width: 980px) {
  .fca-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fca-side {
    position: static;
    top: auto;
  }
}

@media (max-width: 680px) {
  .hero-content {
    padding-top: 8rem;
    max-width: 100%;
  }

  .hero-views {
    margin-top: 0.45rem;
    transform: translateY(-12px);
  }

  .hero-social {
    right: 1rem;
    left: auto;
    bottom: 3.6rem;
    justify-content: flex-end;
  }

  .hero-social-link {
    width: 36px;
    height: 36px;
  }

  .fca-main,
  .fca-side {
    padding: 0.85rem;
  }

  .fca-image-wrap img {
    min-height: 280px;
  }

  .fca-table {
    min-width: 520px;
  }
}
