/* ==========================================================================
   Congresso Sesi ODS 2026 — CSS Global
   Este arquivo concentra TODO o CSS do site (fundação + todas as seções).
   Ele deve ser publicado como um Client Extension "Global CSS" e anexado
   ao tema da página no Liferay — os fragments não carregam CSS próprio.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --congresso-brand: #f49314;
  --congresso-amber-deep: #3a2a1a;
  --congresso-amber-mid: #6e4826;
  --congresso-on-amber: #fbf5ea;
  --congresso-background: #fefcf8;
  --congresso-foreground: #2c2216;
  --congresso-card: #ffffff;
  --congresso-secondary: #f4efe4;
  --congresso-muted: #7a6c5a;
  --congresso-border: #e7dcc8;
  --congresso-danger: #c0392b;
  --congresso-font-display: 'Neris', 'Open Sans', sans-serif;
  --congresso-font-body: 'Myriad Pro', 'Open Sans', sans-serif;
  /* Altura da .barra-sistemica (barra integradora do Sistema Fiep, acima do
     header do site). O header fica fixo logo abaixo dela, não em cima. */
  --congresso-topbar-height: 35px;
  /* Controlado pelo widget de acessibilidade (botões A-/A/A+). */
  --a11y-font-scale: 1;
}
@media only screen and (max-width: 767px) {
  :root {
    /* No mobile a .barra-sistemica é mais alta (55px, não 35px). O header
       (top) e o gatilho de scroll (header/index.js, que lê essa mesma
       variável) se ajustam sozinhos por causa disso. */
    --congresso-topbar-height: 55px;
  }
}

/* O widget só seta a variável acima; é esta regra que de fato aplica a
   escala de fonte em todo o site (rem/em acompanham o font-size do html). */
html {
  font-size: calc(100% * var(--a11y-font-scale));
}

/* ----- Fontes (Liferay Document & Media) ----- */
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-thin') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-light') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-lightitalic') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-semibold') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-black') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neris'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/neris-blackitalic') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Myriad Pro'; src: url('https://novo.sesipr.org.br/documents/d/sesi-pr/myriadpro-regular') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ----- Utilitários compartilhados ----- */
.congresso-wrapper {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.congresso-section {
  padding: 3rem 1rem;
}
@media only screen and (min-width: 768px) {
  .congresso-section {
    padding: 4rem 1.25rem;
  }
}

.congresso-title {
  font-family: var(--congresso-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.congresso-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--congresso-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--congresso-brand);
}

.congresso-card {
  background: var(--congresso-card);
  border: 1px solid var(--congresso-border);
  border-radius: 1rem;
}

.congresso-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--congresso-font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease-out;
}
.congresso-button:hover { transform: translateY(-2px); text-decoration: none; }
.congresso-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.congresso-button--brand { background: var(--congresso-brand); color: var(--congresso-amber-deep); }
.congresso-button--outline { border-color: color-mix(in srgb, var(--congresso-foreground) 25%, transparent); color: var(--congresso-foreground); }
.congresso-button--outline:hover { border-color: var(--congresso-brand); color: var(--congresso-brand); }
.congresso-button--sm { padding: 0.5rem 1.5rem; font-size: 0.75rem; }

/* ----- Acessibilidade: foco visível e "reduzir movimento" ----- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--congresso-brand);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html[data-a11y-spacing='on'] :is(p, li, dd, dt, blockquote, label, td) {
  letter-spacing: 0.04em !important;
  word-spacing: 0.12em !important;
  line-height: 1.8 !important;
}
html[data-a11y-links='on'] a:not(.congresso-button) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
/* Alto contraste: como todo o CSS usa as variáveis acima, basta redefini-las */
html[data-a11y-contrast='high'] {
  --congresso-brand: #000000;
  --congresso-amber-deep: #000000;
  --congresso-amber-mid: #000000;
  --congresso-on-amber: #ffffff;
  --congresso-background: #ffffff;
  --congresso-foreground: #000000;
  --congresso-card: #ffffff;
  --congresso-secondary: #ffffff;
  --congresso-muted: #000000;
  --congresso-border: #000000;
  --congresso-danger: #000000;
}
html[data-a11y-contrast='high'] a,
html[data-a11y-contrast='high'] .congresso-button {
  text-decoration: underline !important;
}
html[data-a11y-contrast='high'] img:not([aria-hidden='true']) {
  filter: grayscale(1) contrast(1.2);
}
html[data-a11y-contrast='high'] img[aria-hidden='true'] {
  display: none !important;
}
/* --------------------------------------------------------------------------
   Alto contraste: correções pontuais.
   Como --congresso-brand e --congresso-amber-deep/-mid viram a mesma cor
   (preto) acima, todo elemento que usa "brand" como texto/ícone POR CIMA de
   um fundo amber-deep/amber-mid (ou de outro elemento que também usa brand
   como fundo) fica preto sobre preto. Cada regra abaixo força esses casos
   específicos para branco. Não é um "override genérico" porque muitos desses
   mesmos elementos (ex.: eyebrow, sala, ícone de acessibilidade) também
   aparecem sobre fundo claro em outros lugares, onde o preto padrão já está
   correto.
   -------------------------------------------------------------------------- */

/* Botão principal: fundo e texto colapsavam pra preto */
html[data-a11y-contrast='high'] .congresso-button--brand {
  color: #ffffff !important;
}

/* Datas "28"/"29" no hero (fundo do hero também fica preto) */
html[data-a11y-contrast='high'] .congresso-hero__date {
  color: #ffffff !important;
}

/* Botão outline dentro do hero, no hover */
html[data-a11y-contrast='high'] .congresso-hero .congresso-button--outline:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Nav do header, no hover (header sempre fica sobre fundo escuro) */
html[data-a11y-contrast='high'] .congresso-header__nav a:hover {
  color: #ffffff !important;
}

/* Card "escuro" de Dois dias (eyebrow e número do dia) */
html[data-a11y-contrast='high'] .congresso-dois-dias__card-header--dark .congresso-eyebrow,
html[data-a11y-contrast='high'] .congresso-dois-dias__card-header--dark .congresso-dois-dias__card-day {
  color: #ffffff !important;
}

/* Número "01"-"04" sobre a foto (overlay sempre escuro) */
html[data-a11y-contrast='high'] .congresso-motivo__index {
  color: #ffffff !important;
}

/* Tab ativa da Programação (o fundo já vira preto; textos e borda precisam
   ficar brancos, inclusive os spans que têm cor própria) */
html[data-a11y-contrast='high'] .congresso-tabs__trigger.is-active {
  background: #000000 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}
html[data-a11y-contrast='high'] .congresso-tabs__trigger.is-active .congresso-tabs__trigger-month,
html[data-a11y-contrast='high'] .congresso-tabs__trigger.is-active .congresso-tabs__trigger-hour {
  color: #ffffff !important;
}

/* Faixa de experiências, no hover do link (fundo sempre escuro) */
html[data-a11y-contrast='high'] .congresso-faixa__link:hover {
  color: #ffffff !important;
}

/* Widget de acessibilidade: ícone do botão flutuante (fundo brand = preto) */
html[data-a11y-contrast='high'] .congresso-a11y-widget__toggle {
  color: #ffffff !important;
}

/* Relatos, nos botões de navegação do carrossel, no hover (fundo escuro) */
html[data-a11y-contrast='high'] .congresso-relatos__controls button:hover {
  color: #ffffff !important;
}

/* Footer (fundo sempre escuro) */
html[data-a11y-contrast='high'] .congresso-footer__partners-title {
  color: #ffffff !important;
}

/* ==========================================================================
   Header
   ========================================================================== */
.congresso-header {
  position: fixed;
  inset-inline: 0;
  top: var(--congresso-topbar-height);
  z-index: 700;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease-out, border-color 0.4s ease-out, top 0.4s ease-out;
}
.congresso-header.is-solid {
  top: 0;
  background: rgba(58, 42, 26, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.congresso-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}
.congresso-header__logo {
  height: 40px;
  width: auto;
  display: block;
}
.congresso-header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.congresso-header__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.congresso-header__nav a {
  font-family: var(--congresso-font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(251, 245, 234, 0.8);
  text-decoration: none;
}
.congresso-header__nav a:hover {
  color: var(--congresso-brand);
}
@media only screen and (min-width: 1024px) {
  .congresso-header__nav {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.congresso-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--congresso-amber-deep);
  /* TODO: trocar pela URL da imagem de fundo enviada ao Document & Media */
  background-image:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--congresso-amber-mid) 90%, transparent) 0%, transparent 60%),
    radial-gradient(90% 80% at 10% 90%, color-mix(in srgb, var(--congresso-brand) 30%, transparent) 0%, transparent 65%),
    linear-gradient(color-mix(in srgb, var(--congresso-amber-deep) 55%, transparent), color-mix(in srgb, var(--congresso-amber-deep) 75%, transparent)),
    url('/documents/TROCAR/fundo-hero.png');
  background-size: cover;
  background-position: center;
  color: var(--congresso-on-amber);
  padding: 5.5rem 1rem 3rem;
}
@media only screen and (min-width: 640px) {
  .congresso-hero {
    padding: 6rem 1.25rem 3.5rem;
  }
}

.congresso-hero__aspiral {
  position: absolute;
  top: -2rem;
  right: -4rem;
  width: 22rem;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
@media only screen and (min-width: 640px) {
  .congresso-hero__aspiral {
    width: 26rem;
    opacity: 0.15;
  }
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__aspiral {
    top: -3rem;
    right: -2rem;
    width: 30rem;
  }
}

.congresso-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__inner {
    grid-template-columns: minmax(0, 1.45fr) auto;
    grid-template-areas: 'main date' 'cta date';
    align-items: center;
    gap: 1rem;
  }
}

.congresso-hero__main {
  min-width: 0;
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__main {
    grid-area: main;
  }
}

.congresso-hero__logo {
  width: 100%;
  max-width: 22rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
}
@media only screen and (min-width: 640px) {
  .congresso-hero__logo {
    max-width: 28rem;
  }
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__logo {
    max-width: 32rem;
  }
}

.congresso-hero__title {
  font-family: var(--congresso-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  margin: 1.75rem 0 0;
}

.congresso-hero__title-sub {
  display: block;
  max-width: 40rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: normal;
  color: color-mix(in srgb, var(--congresso-on-amber) 85%, transparent);
}

.congresso-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.5rem;
}
.congresso-hero__cta-group .congresso-button {
  justify-content: center;
  width: 100%;
}
@media only screen and (min-width: 640px) {
  .congresso-hero__cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .congresso-hero__cta-group .congresso-button {
    width: auto;
  }
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__cta-group {
    grid-area: cta;
  }
}

.congresso-hero .congresso-button--brand {
  box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--congresso-brand) 60%, transparent);
}
.congresso-hero .congresso-button--outline {
  border-color: color-mix(in srgb, var(--congresso-on-amber) 40%, transparent);
  color: var(--congresso-on-amber);
}
.congresso-hero .congresso-button--outline:hover {
  border-color: var(--congresso-brand);
  color: var(--congresso-brand);
}

.congresso-hero__date-box {
  width: 100%;
  max-width: 22rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--congresso-on-amber) 45%, transparent);
  border-radius: 1.75rem;
}
@media only screen and (min-width: 1024px) {
  .congresso-hero__date-box {
    grid-area: date;
    width: auto;
  }
}

.congresso-hero__date {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--congresso-font-display);
  font-weight: 900;
  color: var(--congresso-brand);
  font-size: clamp(3.2rem, 11vw, 5rem);
  margin: 0;
}
.congresso-hero__date span:not([data-lfr-editable-id]) {
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--congresso-on-amber);
}

.congresso-hero__month {
  margin-top: 0.25rem;
  font-family: var(--congresso-font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.5rem;
}

.congresso-hero__divider {
  width: 4rem;
  height: 1px;
  margin: 1.25rem auto 0;
  background: color-mix(in srgb, var(--congresso-on-amber) 40%, transparent);
}

.congresso-hero__place {
  margin-top: 1.25rem;
  font-family: var(--congresso-font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.875rem;
}

.congresso-hero__city {
  margin-top: 0.25rem;
  font-family: var(--congresso-font-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--congresso-on-amber) 75%, transparent);
}

/* ==========================================================================
   Faixa de experiências (carrossel/marquee)
   ========================================================================== */
@keyframes congresso-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.congresso-faixa {
  overflow: hidden;
  background: var(--congresso-amber-mid);
  padding-block: 1.75rem;
}

.congresso-faixa__header {
  margin-bottom: 1.5rem;
}

.congresso-faixa__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--congresso-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: color-mix(in srgb, var(--congresso-on-amber) 70%, transparent);
  text-decoration: none;
}
.congresso-faixa__link:hover {
  color: var(--congresso-brand);
}
.congresso-faixa__link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.congresso-faixa__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: congresso-marquee 40s linear infinite;
}
.congresso-faixa__track:hover {
  animation-play-state: paused;
}
.congresso-faixa__track img {
  height: 10rem;
  width: 16rem;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 1rem;
  opacity: 0.9;
}
@media only screen and (min-width: 640px) {
  .congresso-faixa__track img {
    height: 13rem;
    width: 20rem;
  }
}

/* ==========================================================================
   Galeria (grid + lightbox)
   ========================================================================== */
.congresso-galeria {
  background: var(--congresso-background);
}

.congresso-galeria__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.congresso-galeria__title {
  font-size: clamp(2rem, 4vw, 3rem);
}
@media only screen and (min-width: 1024px) {
  .congresso-galeria__title {
    white-space: nowrap;
    font-size: clamp(1.1rem, 4vw, 3rem);
  }
}

.congresso-galeria__album-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--congresso-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--congresso-brand);
  text-decoration: none;
  white-space: nowrap;
}
.congresso-galeria__album-link:hover {
  text-decoration: underline;
}
.congresso-galeria__album-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.congresso-galeria__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media only screen and (min-width: 640px) {
  .congresso-galeria__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (min-width: 1024px) {
  .congresso-galeria__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.congresso-galeria__thumb {
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--congresso-secondary);
}
.congresso-galeria__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}
.congresso-galeria__thumb:hover img {
  transform: scale(1.05);
}

.congresso-galeria__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--congresso-amber-deep) 95%, transparent);
}
.congresso-galeria__lightbox[hidden] {
  display: none;
}
.congresso-galeria__lightbox:not([hidden]) {
  display: grid;
}
.congresso-galeria__lightbox img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  border-radius: 1rem;
}

.congresso-galeria__lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--congresso-on-amber);
  cursor: pointer;
}
.congresso-galeria__lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ==========================================================================
   Dois dias
   ========================================================================== */
.congresso-dois-dias {
  background: var(--congresso-background);
}

.congresso-dois-dias__intro {
  display: grid;
  gap: 1.75rem;
}
@media only screen and (min-width: 1024px) {
  .congresso-dois-dias__intro {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.congresso-dois-dias__title {
  max-width: 36rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.congresso-dois-dias__lead {
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--congresso-muted);
}

.congresso-dois-dias__grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
}
@media only screen and (min-width: 768px) {
  .congresso-dois-dias__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.congresso-dois-dias__cta {
  display: flex;
  margin: 2.25rem auto 0;
  justify-content: center;
  width: fit-content;
}

.congresso-dois-dias__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--congresso-border);
  border-radius: 16px;
  background: var(--congresso-card);
}

.congresso-dois-dias__card-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--congresso-border);
  background: color-mix(in srgb, var(--congresso-secondary) 60%, transparent);
}
.congresso-dois-dias__card-header--dark {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  background: var(--congresso-amber-deep);
  color: var(--congresso-on-amber);
}
@media only screen and (max-width: 599px) {
  .congresso-dois-dias__card-header {
    gap: 1.25rem;
    padding: 1.25rem 2rem;
  }
}

.congresso-dois-dias__card-day {
  flex-shrink: 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--congresso-brand);
}
@media only screen and (max-width: 599px) {
  .congresso-dois-dias__card-day {
    font-size: 2rem;
  }
}

.congresso-dois-dias__card-heading {
  display: block;
  min-width: 0;
}

.congresso-dois-dias__card-header .congresso-eyebrow {
  display: block;
  letter-spacing: 0.3em;
}

.congresso-dois-dias__card-title {
  display: block;
  font-size: 1.75rem;
  line-height: 1.2;
}
@media only screen and (max-width: 599px) {
  .congresso-dois-dias__card-title {
    font-size: 1rem;
    white-space: nowrap;
  }
}

.congresso-dois-dias__card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.25rem;
}
@media only screen and (max-width: 599px) {
  .congresso-dois-dias__card-body {
    padding: 2rem;
  }
}

.congresso-dois-dias__card-text {
  margin: 0;
  color: var(--congresso-muted);
}

.congresso-dois-dias__periods {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.congresso-dois-dias__period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--congresso-border);
  border-radius: 1rem;
  background: var(--congresso-background);
}
@media only screen and (min-width: 480px) {
  .congresso-dois-dias__period {
    flex-direction: row;
    align-items: baseline;
    gap: 1.25rem;
  }
}
.congresso-dois-dias__period dt {
  flex-shrink: 0;
  font-size: 1.75rem;
}
.congresso-dois-dias__period dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--congresso-muted);
}

.congresso-dois-dias__period-label {
  font-family: var(--congresso-font-display);
  font-weight: 700;
  color: var(--congresso-brand);
}

.congresso-dois-dias__note {
  margin: auto 0 0;
  padding-top: 1.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--congresso-muted);
}

.congresso-dois-dias__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.congresso-dois-dias__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--congresso-border);
  font-family: var(--congresso-font-display);
  font-weight: 600;
  line-height: 1.3;
}
.congresso-dois-dias__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.congresso-dois-dias__list-number {
  flex-shrink: 0;
  font-family: var(--congresso-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--congresso-brand);
}

/* ==========================================================================
   Por que participar (motivos)
   ========================================================================== */
.congresso-motivos {
  background: var(--congresso-background);
}

.congresso-motivos__intro p {
  max-width: 48rem;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--congresso-muted);
}

.congresso-motivos__title {
  white-space: nowrap;
  font-size: clamp(1rem, 3.4vw, 2.5rem);
}

.congresso-motivos__grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem 1.75rem;
}
@media only screen and (min-width: 640px) {
  .congresso-motivos__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.congresso-motivo__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--congresso-secondary);
}
.congresso-motivo__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.congresso-motivo__media:hover img {
  transform: scale(1.05);
}

.congresso-motivo__overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--congresso-amber-deep) 90%, transparent),
    color-mix(in srgb, var(--congresso-amber-deep) 25%, transparent) 60%,
    transparent
  );
}

.congresso-motivo__index {
  font-family: var(--congresso-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--congresso-brand);
}

.congresso-motivo__title {
  margin-top: 0.25rem;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  color: var(--congresso-on-amber);
}

.congresso-motivo__text {
  margin-top: 1rem;
  color: var(--congresso-muted);
}

.congresso-motivos__cta {
  margin-top: 2.25rem;
}

/* ==========================================================================
   Programação
   ========================================================================== */
.congresso-programacao {
  background: var(--congresso-secondary);
}

.congresso-programacao__title {
  max-width: 44rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
@media only screen and (min-width: 1024px) {
  .congresso-programacao__title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1rem, 3.5vw, 2.75rem);
  }
}

.congresso-programacao__intro {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--congresso-muted);
}

.congresso-tabs {
  margin-top: 2.25rem;
}

.congresso-tabs__list {
  display: grid;
  gap: 0.75rem;
}
@media only screen and (min-width: 640px) {
  .congresso-tabs__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.congresso-tabs__trigger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  padding: 1.75rem 2rem;
  border-radius: 1.75rem;
  border: 1px solid var(--congresso-border);
  background: var(--congresso-card);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.25s ease-out, background-color 0.25s ease-out;
}
.congresso-tabs__trigger em {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 1.125rem;
  vertical-align: middle;
}
.congresso-tabs__trigger.is-active {
  border-color: var(--congresso-brand);
  background: var(--congresso-amber-deep);
  color: var(--congresso-on-amber);
}

.congresso-tabs__trigger-month {
  font-family: var(--congresso-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--congresso-brand);
}

.congresso-tabs__trigger-day {
  font-family: var(--congresso-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: 2rem;
}

.congresso-tabs__trigger-hour {
  font-family: var(--congresso-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--congresso-brand);
}

.congresso-tabs__panel {
  margin-top: 2rem;
  padding: 2.5rem;
  border-radius: 1.75rem;
  background: var(--congresso-card);
}
@media only screen and (max-width: 599px) {
  .congresso-tabs__panel {
    padding: 2rem;
  }
}

.congresso-tabs__panel-note {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  color: var(--congresso-muted);
}

.congresso-oficinas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.congresso-oficinas__item {
  border: 1px solid var(--congresso-border);
  background: var(--congresso-background);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.25s ease-out;
}
.congresso-oficinas__item:hover {
  border-color: color-mix(in srgb, var(--congresso-brand) 50%, transparent);
}
.congresso-oficinas__item h4 {
  font-size: 1.125rem;
}

.congresso-oficinas__header {
  display: flex;
  /* align-items: flex-start; */
  gap: 1rem;
}

.congresso-oficinas__content {
  flex: 1;
  min-width: 0;
}
.congresso-oficinas__content h4 {
  margin: 0;
}

.congresso-oficinas__time {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding-right: 1rem;
  border-right: 1px solid var(--congresso-border);
  font-family: var(--congresso-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--congresso-foreground);
  white-space: nowrap;
}
.congresso-oficinas__time svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--congresso-brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media only screen and (max-width: 599px) {
  .congresso-oficinas__item {
    padding: 1.25rem;
  }
  .congresso-oficinas__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .congresso-oficinas__time {
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    padding-right: 0;
    border-right: 0;
  }
}

.congresso-oficinas__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--congresso-muted);
}

.congresso-sala {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--congresso-brand) 45%, transparent);
  background: color-mix(in srgb, var(--congresso-brand) 10%, transparent);
  font-family: var(--congresso-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--congresso-brand);
}
.congresso-sala svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.congresso-programacao__cta {
  margin-top: 2.25rem;
}

/* ==========================================================================
   Como chegar
   ========================================================================== */
.congresso-como-chegar {
  background: var(--congresso-background);
}

.congresso-como-chegar__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 62rem;
  margin-inline: auto;
}
@media only screen and (min-width: 768px) {
  .congresso-como-chegar__grid {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
  }
}

.congresso-como-chegar__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.congresso-como-chegar__address {
  margin-top: 1rem;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--congresso-muted);
}

.congresso-como-chegar__grid .congresso-button {
  margin-top: 1rem;
}

.congresso-como-chegar__map {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--congresso-border);
}
.congresso-como-chegar__map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}
@media only screen and (min-width: 768px) {
  .congresso-como-chegar__map iframe {
    height: 420px;
  }
}

/* ==========================================================================
   Acessibilidade (card + modal + formulário)
   ========================================================================== */
.congresso-acessibilidade {
  background: color-mix(in srgb, var(--congresso-secondary) 60%, transparent);
}

.congresso-acessibilidade__card {
  padding: 2.25rem;
  display: grid;
  gap: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .congresso-acessibilidade__card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
}
.congresso-acessibilidade__card h2 {
  font-family: var(--congresso-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.congresso-acessibilidade__card p {
  margin: 0.5rem 0 0;
  color: var(--congresso-muted);
}

.congresso-acessibilidade__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  fill: var(--congresso-brand);
}

.congresso-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
}
.congresso-modal[hidden] {
  display: none;
}
.congresso-modal:not([hidden]) {
  display: grid;
  place-items: safe center;
}

.congresso-modal__backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--congresso-amber-deep) 70%, transparent);
}

.congresso-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 34rem;
  padding: 2.25rem;
  border-radius: 1.5rem;
  background: var(--congresso-card);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
}
@media only screen and (max-width: 599px) {
  .congresso-modal__dialog {
    padding: 1.75rem;
  }
}

.congresso-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--congresso-border);
  background: transparent;
  color: var(--congresso-foreground);
  cursor: pointer;
}
.congresso-modal__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.congresso-modal__title {
  padding-right: 2rem;
  font-size: 1.5rem;
}

.congresso-modal__text {
  margin-top: 0.75rem;
  color: var(--congresso-muted);
}

.congresso-acessibilidade__form-zone {
  margin-top: 1.5rem;
  min-height: 3rem;
}

/* ==========================================================================
   Templates customizados do Liferay Forms (campo de texto, textarea,
   checkbox e botão de envio) usados dentro do Form Container da drop zone
   de acessibilidade. Ficam aqui porque o CSS do site é global — essas
   classes não pertencem a nenhum fragment específico.
   ========================================================================== */
.congresso-form-group {
  display: grid;
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.congresso-form-group:first-child {
  margin-top: 0;
}

.congresso-form-label {
  font-family: var(--congresso-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--congresso-foreground);
}

/* ==========================================================================
   Texto Simples (fragment utilitário — texto solto em qualquer drop zone,
   ex.: título/legenda acima de um grupo de checkboxes do Form Container)
   ========================================================================== */
.congresso-texto-simples {
  margin-top: 1.25rem;
}
.congresso-texto-simples:first-child {
  margin-top: 0;
}

.congresso-form-input,
.congresso-form-textarea {
  font: inherit;
  font-family: var(--congresso-font-body);
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--congresso-border);
  border-radius: 0.5rem;
  background: var(--congresso-background);
  color: var(--congresso-foreground);
  width: 100%;
}
.congresso-form-input:focus,
.congresso-form-textarea:focus {
  outline: 2px solid var(--congresso-brand);
  outline-offset: 1px;
}
.congresso-form-textarea {
  resize: vertical;
}

.congresso-form-error {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--congresso-danger);
}

.congresso-form-help {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--congresso-muted);
}

.congresso-form-checkbox {
  margin-top: 0.75rem;
}
.congresso-form-checkbox:first-child {
  margin-top: 0;
}
.congresso-form-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--congresso-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--congresso-foreground);
  cursor: pointer;
}
.congresso-form-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--congresso-brand);
}

.congresso-form-submit {
  margin-top: 1.5rem;
  display: flex;
}
.congresso-form-submit__button:disabled {
  cursor: wait;
  opacity: 0.75;
}
.congresso-form-submit__loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.congresso-form-submit__loading[hidden] {
  display: none !important;
}
.congresso-form-submit__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: congresso-spin 700ms linear infinite;
}
@keyframes congresso-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Card de sucesso do formulário de acessibilidade
   ========================================================================== */
.congresso-a11y-sucesso[hidden] {
  display: none !important;
}
.congresso-a11y-sucesso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid var(--congresso-brand);
  background: color-mix(in srgb, var(--congresso-brand) 8%, var(--congresso-card));
  text-align: center;
  box-sizing: border-box;
}
.congresso-a11y-sucesso__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid var(--congresso-brand);
  color: var(--congresso-brand);
  flex-shrink: 0;
}
.congresso-a11y-sucesso__icon svg {
  width: 28px;
  height: 28px;
}
.congresso-a11y-sucesso__heading {
  margin: 0;
  font-family: var(--congresso-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--congresso-amber-deep);
}
.congresso-a11y-sucesso__text {
  margin: 0;
  font-family: var(--congresso-font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--congresso-muted);
}
@media only screen and (max-width: 599px) {
  .congresso-a11y-sucesso {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   Widget de acessibilidade (flutuante)
   ========================================================================== */
.congresso-a11y-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
}

.congresso-a11y-widget__toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  border-radius: 1rem 0 0 1rem;
  border: none;
  background: var(--congresso-brand);
  color: var(--congresso-amber-deep);
  cursor: pointer;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
  transition: width 0.2s ease-out;
}
.congresso-a11y-widget__toggle:hover {
  width: 54px;
}
.congresso-a11y-widget__toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.congresso-a11y-widget__panel {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.75rem;
  width: 15.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--congresso-card);
  border: 1px solid var(--congresso-border);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
}
@media only screen and (max-width: 599px) {
  .congresso-a11y-widget__panel {
    /* Mesmo posicionamento do desktop (à esquerda do botão, centralizado
       verticalmente com ele) — só menor. Importante: NÃO usar
       "position: fixed" aqui. O elemento pai (.congresso-a11y-widget) tem
       um transform, e isso faz qualquer "fixed" descendente virar relativo
       a ele (uma caixa de 48x64px) em vez da viewport real — foi
       exatamente isso que jogou o painel "pra fora da tela" numa tentativa
       anterior. */
    width: 13rem;
    max-width: calc(100vw - 4rem);
    padding: 1rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
  }
}

.congresso-a11y-widget__title {
  margin: 0 0 1rem;
  font-family: var(--congresso-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--congresso-foreground);
}

.congresso-a11y-widget__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
}
.congresso-a11y-widget__group + .congresso-a11y-widget__group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--congresso-border);
}

.congresso-a11y-widget__label {
  font-family: var(--congresso-font-body);
  font-size: 0.875rem;
  color: var(--congresso-foreground);
}

.congresso-a11y-widget__font-controls {
  display: flex;
  gap: 0.25rem;
}
.congresso-a11y-widget__font-controls button {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  border: 1px solid var(--congresso-border);
  background: var(--congresso-background);
  color: var(--congresso-foreground);
  font-family: var(--congresso-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}
.congresso-a11y-widget__font-controls button:hover {
  border-color: var(--congresso-brand);
  color: var(--congresso-brand);
}

.congresso-a11y-widget__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  width: 100%;
  cursor: pointer;
}
.congresso-a11y-widget__switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.congresso-a11y-widget__switch-track {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--congresso-border);
  transition: background-color 0.2s ease-out;
}
.congresso-a11y-widget__switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--congresso-card);
  transition: transform 0.2s ease-out;
}

.congresso-a11y-widget__switch input:checked + .congresso-a11y-widget__switch-track {
  background: var(--congresso-brand);
}
.congresso-a11y-widget__switch input:checked + .congresso-a11y-widget__switch-track::after {
  transform: translateX(18px);
}

.congresso-a11y-widget__switch input:focus-visible + .congresso-a11y-widget__switch-track {
  outline: 3px solid var(--congresso-brand);
  outline-offset: 2px;
}

/* ==========================================================================
   Relatos (Instagram)
   ========================================================================== */
.congresso-relatos {
  background: var(--congresso-amber-deep);
  color: var(--congresso-on-amber);
}

.congresso-relatos__intro p {
  max-width: 44rem;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--congresso-on-amber) 80%, transparent);
}

.congresso-relatos__title {
  font-size: clamp(2rem, 4vw, 3rem);
}
@media only screen and (min-width: 1024px) {
  .congresso-relatos__title {
    white-space: nowrap;
    font-size: clamp(1rem, 2.9vw, 2.5rem);
  }
}

.congresso-relatos__carousel {
  position: relative;
  margin-top: 2.25rem;
}

.congresso-relatos__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.375rem;
  scrollbar-width: none;
}
.congresso-relatos__track::-webkit-scrollbar {
  display: none;
}

.congresso-relatos__item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 19rem;
}
@media only screen and (min-width: 640px) {
  .congresso-relatos__item {
    width: 21rem;
  }
}

.congresso-relatos__controls {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.congresso-relatos__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--congresso-on-amber) 30%, transparent);
  background: transparent;
  color: var(--congresso-on-amber);
  cursor: pointer;
  transition: border-color 0.2s ease-out, color 0.2s ease-out;
}
.congresso-relatos__controls button:hover {
  border-color: var(--congresso-brand);
  color: var(--congresso-brand);
}
.congresso-relatos__controls button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Dúvidas (accordion)
   ========================================================================== */
.congresso-duvidas {
  background: var(--congresso-background);
}

.congresso-duvidas__title {
  font-size: clamp(2rem, 4vw, 3rem);
}
@media only screen and (min-width: 1024px) {
  .congresso-duvidas__title {
    white-space: nowrap;
  }
}

.congresso-accordion {
  margin-top: 2.5rem;
  border-top: 1px solid var(--congresso-border);
}

.congresso-accordion__item {
  border-bottom: 1px solid var(--congresso-border);
}

.congresso-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--congresso-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--congresso-foreground);
}
.congresso-accordion__trigger svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease-out;
}
.congresso-accordion__trigger[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.congresso-accordion__panel {
  padding-bottom: 1.25rem;
}
.congresso-accordion__panel p {
  margin: 0;
  color: var(--congresso-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.congresso-footer {
  position: relative;
  overflow: hidden;
  background: var(--congresso-amber-deep);
  color: var(--congresso-on-amber);
  padding: 6rem 1rem;
}
@media only screen and (max-width: 768px) {
  .congresso-footer {
    padding: 3.5rem 1.25rem;
  }
}

.congresso-footer__roseta {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 20rem;
  opacity: 0.15;
  pointer-events: none;
}

.congresso-footer__inner {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media only screen and (min-width: 768px) {
  .congresso-footer__inner {
    grid-template-columns: 1.2fr 1fr;
  }
}

.congresso-footer__logo {
  height: 80px;
  width: auto;
}
@media only screen and (min-width: 640px) {
  .congresso-footer__logo {
    height: 96px;
  }
}

.congresso-footer__tagline {
  margin-top: 2.25rem;
  max-width: 22rem;
  font-family: var(--congresso-font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.congresso-footer__meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--congresso-on-amber) 70%, transparent);
}

.congresso-footer__intro .congresso-button {
  margin-top: 1.75rem;
}

.congresso-footer__partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.congresso-footer__partners-title {
  font-family: var(--congresso-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--congresso-brand);
  margin: 0;
}

.congresso-footer__partner-logo {
  margin-top: 2.25rem;
  width: auto;
}

.congresso-footer__partner-logo--sesi {
  height: 56px;
}

.congresso-footer__partner-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.congresso-footer__partner-logo--cifal {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  margin-top: 0;
}

.congresso-footer__partner-logo--unitar {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  margin-top: 0;
}

.congresso-footer__bottom {
  position: relative;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--congresso-on-amber) 60%, transparent);
}
