@font-face {
  font-family: "Magnolia Script";
  src: url(../fonts/magnoliascript.otf);
}
 
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');
 
 
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
 
:root {
  --bg:        #f7f5f6;
  --magenta:   #9b0050;
  --magenta-dk:#7a003f;
  --magenta-lt:#d4005f;
  --card-bg:   #9b0050;
  --text:      #1a1a1a;
  --text-light:#555;
  --white:     #ffffff;
  --border:    #e8ddd9;
  --header-h:  4.5rem;
  --radius:    1rem;
  --serif:     'Playfair Display', 'Magnolia Script', serif;
  --sans:      'DM Sans', 'Poppins', sans-serif;
}
 
 
/* HEADER */
header {
  height: var(--header-h);
  width: 100%;
  background-color: var(--bg);
  border-bottom: 1.5px solid var(--magenta-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
 
header .container {
  max-width: 90rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}
 
header .container .logo { height: 3rem; }
 
header .logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--magenta);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
 
header .nav-header {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
 
header .ul-header {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}
 
header .ul-header a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s;
}
 
header .ul-header a:hover { color: var(--magenta); }
 
 
/* FOOTER */
footer {
  background-color: var(--bg);
  border-top: 1.5px solid var(--border);
  width: 100%;
  padding: 1rem 0 1.5rem;
}
 
footer .footer-wrapper {
  max-width: 90rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: center;
}

footer .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
 
footer .footer-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
 
footer .footer-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid var(--border);
  width: 10rem;
  height: 4.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.7rem;
}
 
footer .footer-block a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
 
footer .footer-block a h4 {
  color: var(--magenta);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
}
 
footer #insta-logo   { width: 2.5rem; }
footer #ifms-logo    { width: 7.5rem; }
footer #fundect-logo { width: 5.5rem; }
 
footer .footer-copyright {
  margin-top: 1.25rem;
}
 
footer .footer-copyright h5 {
  color: var(--text-light);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
}
 
 
/* HOME PAGE (HERO) */
 
body.home {
  background-color: var(--bg);
  font-family: var(--sans);
  color: var(--text);
}
 
body.home main {
  background-color: var(--bg);
}
 
body.home .hero {
  min-height: calc(95vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 2.5rem);
  max-width: 80rem;
  margin: 0 auto;
  gap: clamp(2rem, 5vw, 4rem);
}
 
body.home .hero-content {
  flex: 1;
  max-width: 35rem;
}
 
body.home .hero-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
 
body.home .hero-label .star-icon {
  color: var(--magenta);
  font-size: 1.125rem;
}
 
body.home .hero-label span {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--magenta);
  text-transform: uppercase;
}
 
body.home .hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--magenta);
  margin-bottom: 1.75rem;
}
 
.page-container {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}
 
body.home .hero-desc {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 27rem;
  margin-bottom: 2.25rem;
}
 
body.home .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--magenta);
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--magenta);
  padding-bottom: 2px;
  transition: gap 0.2s;
}
 
body.home .hero-cta:hover { gap: 1.25rem; }
 
body.home .hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
 
body.home .hero-image img {
  max-width: 30rem;
  width: 100%;
  object-fit: contain;
}
 
 
/* AUTORAS */
 
body.autores {
  background-color: var(--bg);
  font-family: var(--sans);
  color: var(--text);
}
 
body.autores main { background-color: var(--bg); }
 
body.autores section {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
 
body.autores .page-container {
  max-width: 80rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  margin: 0 auto;
}
 
body.autores .page-header {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 2.5rem 0;
}
 
body.autores .page-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
 
body.autores .page-label .star-icon { color: var(--magenta); font-size: 1.125rem; }
 
body.autores .page-label span {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--magenta);
  text-transform: uppercase;
}
 
body.autores h1.title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--magenta);
  text-shadow: none;
  text-align: left;
  margin-bottom: 1.25rem;
}
 
body.autores .page-divider {
  width: 4rem;
  border: 1.5px solid var(--magenta);
  border-radius: 4px;
  margin: 0 0 2.30rem;
}
 
body.autores .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 80rem;
  width: 100%;
  padding: 0 2.5rem clamp(2rem, 5vw, 4rem);
  margin: 0 auto;
}
 
body.autores .card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
 
body.autores .card:hover {
  transform: translateY(-6px);
}
 
body.autores .card .card-img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 4px solid var(--magenta);
  overflow: hidden;
  background-color: var(--bg);
  transition: box-shadow 0.2s;
}
 
body.autores .card:hover .card-img-wrapper {
  box-shadow: 0 10px 32px rgba(155, 0, 80, 0.28);
}
 
body.autores .card .imgAutor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
 
body.autores .card:hover .imgAutor { transform: scale(1.04); }
 
body.autores .card .nome {
  color: var(--magenta);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 0 0.25rem;
}
 
body.autores .filters-bar {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
 
body.autores .filter-tabs {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
 
body.autores .filter-tab {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 0 4px;
  transition: color 0.2s;
}
 
body.autores .filter-tab.active {
  color: var(--magenta);
  border-bottom: 2px solid var(--magenta);
  font-weight: 600;
}
 
body.autores .filter-tab:hover { color: var(--magenta); }
 
body.autores .pesquisa {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1.5px solid var(--magenta-lt);
  padding: 6px 2px;
  background: none;
}
 
body.autores .lupaIcon { height: 1.125rem; opacity: 0.7; }
 
body.autores #botao_pesquisar {
  border: none;
  background: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  width: 12rem;
  outline: none;
}
 
body.autores #botao_pesquisar::placeholder { color: var(--text-light); }
 
body.autores .failMessage p {
  color: var(--magenta);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin: 2.5rem 0;
}

/* Compositora (author.ejs) */

body.autor {
  background-color: var(--bg);
  font-family: var(--sans);
  color: var(--text);
}

body.autor main { background-color: var(--bg); }

.autor-container {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.autor-voltar { padding: 1.25rem 0 0; }

.voltar-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--magenta);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.voltar-link:hover { opacity: 0.75; }

.autor-hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.autor-hero-inner {
  display: flex;
  align-items: stretch;
}

.autor-foto-col {
  flex: 0 0 auto;
  width: clamp(14rem, 28vw, 22rem);
  position: relative;
  z-index: 2;
}

.autor-foto-wrapper {
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 36vw, 26rem);
  border: 3px solid var(--magenta);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg);
}

.autor-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.autor-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-left: 1.5rem;
  padding-left: 0;
  z-index: 1;
}

.autor-nome {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--magenta);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.autor-divider {
  width: clamp(8rem, 35%, 20rem);
  border: 1.5px solid var(--magenta);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  margin-left: 0;
}

.autor-descricao-box {
  flex: 1;
  background-color: var(--magenta);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.autor-descricao {
  font-family: var(--sans);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--white);
  margin: 0;
}

.autor-paineis {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.autor-paineis-inner {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  position: relative;
  padding: 0;
}

.painel-composicoes{
  background-color: var(--magenta);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.painel-textos {
  background-color: var(--magenta);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  min-height: clamp(24rem, 50vw, 38rem);
}

.painel-titulo {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 1.5rem;
}

.painel-composicoes {
  flex: 0 0 clamp(14rem, 28vw, 22rem);
  width: clamp(14rem, 28vw, 22rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.painel-composicoes .painel-titulo {
  width: 100%;
}

.painel-composicoes .composicoes-lista {
  width: 100%;
  align-items: center;
}

.composicoes-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  color: var(--bg);
}

.composicao-item {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--white);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  line-height: 1.4;
  display: block;
}

.composicao-item:last-child { border-bottom: none; }
.composicao-vazia { opacity: 0.7; font-style: italic; }

.painel-textos {
  flex: 1;
  overflow: visible;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.painel-textos #carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.painel-textos .carousel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.painel-textos .carousel-item {
  flex: 1;
}

.painel-textos .carousel-item.active {
  display: flex;
}

.painel-textos .carousel-control-prev,
.painel-textos .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
}

.painel-textos .carousel-control-prev { left: 0; }
.painel-textos .carousel-control-next { right: 0; }

.painel-textos .carousel-control-prev:hover,
.painel-textos .carousel-control-next:hover { opacity: 1; }

.texto-bloco {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 0 2.25rem;
  color: var(--bg);
}

.texto-corpo {
  font-family: var(--sans);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.75;
  color: var(--white);
  max-height: 16rem;
  overflow-y: auto;
}

.texto-corpo::-webkit-scrollbar { width: 0.3rem; }
.texto-corpo::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 1rem; }

.texto-creditos {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 0.75rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.texto-creditos p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  display: block;
}

.texto-creditos p span {
  font-weight: 600;
  color: var(--white);
}

.texto-vazio {
  font-family: var(--sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}


.painel-seta.carousel-control-prev { left: 0; }
.painel-seta.carousel-control-next { right: 0; }

@media (max-width: 64rem) {
  .autor-hero-inner { flex-direction: column; align-items: stretch; }
  .autor-foto-col { width: 100%; max-width: 20rem; margin: 0 auto; }
  .autor-info-col { margin-left: 0; padding-left: 0; }
  .autor-nome, .autor-divider { padding-left: 0; margin-left: 0; }
  .autor-paineis-inner { flex-direction: column; padding: 0 2rem; }
  .painel-composicoes { width: 100%; }
  .painel-seta.carousel-control-prev { left: -2rem; }
  .painel-seta.carousel-control-next { right: -2rem; }
}

/* quem somos */

body.quemsomos {
  background-color: var(--bg);
  font-family: var(--sans);
  color: var(--text);
}

body.quemsomos main { background-color: var(--bg); }

.qs-container {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.qs-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.qs-titulo {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--magenta);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.qs-divider {
  width: 6rem;
  border: 1.5px solid var(--magenta);
  border-radius: 4px;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.qs-divider-sm {
  width: 6rem;
  border: 1.5px solid var(--magenta);
  border-radius: 4px;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.qs-subtitulo {
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.qs-subtitulo span {
  font-weight: 700;
}

.qs-texto-bloco {
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 3px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qs-texto {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.qs-equipe {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.qs-equipe-titulo {
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--magenta);
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.qs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.qs-card {
  background-color: var(--magenta);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  min-height: clamp(10rem, 20vw, 16rem);
}

.qs-card-titulo {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 1.25rem;
}

.qs-lista {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qs-lista li {
  font-family: var(--sans);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: var(--white);
  text-align: center;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.qs-lista li:last-child { border-bottom: none; }

@media (max-width: 48rem) {
  .qs-cards { grid-template-columns: 1fr; }
  .qs-titulo { font-size: clamp(2.5rem, 12vw, 4rem); }
}

/* Admin login */
 
body.pg-login {
  background-color: var(--bg);
  font-family: var(--sans);
}
 
body.pg-login .login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(80vh - var(--header-h));
  padding: 2rem;
}
 
body.pg-login .login-card {
  background-color: var(--magenta);
  border-radius: 1.25rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(2rem, 6vw, 4rem);
  width: clamp(18rem, 40vw, 36rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(155, 0, 80, 0.18);
}
 
body.pg-login .login-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin: 0;
}
 
body.pg-login form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
 
body.pg-login .login-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
 
body.pg-login .login-label {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 400;
}
 
body.pg-login .login-input {
  width: 100%;
  max-width: 16rem;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
 
body.pg-login .login-input:focus {
  border-color: var(--white);
}
 
body.pg-login .login-confirm {
  margin-top: 0.5rem;
}
 
body.pg-login .login-btn {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--magenta);
  background-color: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 0.5rem;
  padding: 0.45rem 2rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
 
body.pg-login .login-btn:hover {
  background-color: transparent;
  color: var(--white);
}

/* Erro 404 */
body.error404 {
  background-color: var(--bg);
  min-height: 100vh;
}
 
body.error404 .box {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}
 
body.error404 .box p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--magenta);
  line-height: 1.5;
}