@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Royal Face Estética — identidade visual (PSD Home_royal_psd_deskotp) */
:root {
  --royal-maroon: #791b1b;
  --royal-tan: #ECC699;
  --royal-tan-btn: #ecc699;
  --royal-cream: #fdf5f2;
}

body,
.btn,
input,
textarea,
select {
  font-family: 'Poppins', sans-serif !important;
}

.card {
  box-shadow: 0px 6px 15px #00000027;
  border-radius: 10px;
  border: none;
}

header .menu li:nth-last-child(n + 2) a:hover,
header .menu li:nth-last-child(n + 2) a:focus {
  box-shadow: none !important;
}
header .menu li.participar.logado {
  background: none;
}
header .menu li.participar:after {
  display: none !important;
}
header .menu li.participar {
  background-color: var(--primary) !important;
}
/* .socials li a {
  color: #fff;
}
header {
  background: #fff;
} */
#faq .btn-link.collapsed[aria-expanded="false"],
#faq .btn-link.collapsed[aria-expanded="true"],
#faq .btn-link[aria-expanded="true"] {
  background-color: #ffffff;
  text-decoration: none;
}
/* Cor de seleção de acordo com a cor primária setada no admin */
::selection {
  background-color: var(--primary);
}

/* Para fazer a transição de ancoragem - Homepage */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

/* Problema do footer ficar voando em algumas páginas */
/* calc(Altura da tela inteira - Altura do header - Altura do footer) */
.scene-form {
  height: 100%;
  min-height: calc(100vh - 80px - 200px);
  margin-top: 50px;
}

/* No FAQ o elemento já vem com expanded=true */
#faq .btn-link {
  min-height: 75px;
  font-weight: 500;
  border-radius: 30px;
}
#faq .card {
  border-radius: 30px !important;
}

#faq .btn-link.collapsed[aria-expanded="true"] {
  background-color: #fff;
  text-decoration: none;
  color: var(--secondary) !important;
}

#faq .btn-link.collapsed[aria-expanded="false"] {
  background-color: #fff;
  text-decoration: none;
}

#faq .btn-link[aria-expanded="true"] {
  color: #61270e !important;
}

/* .special-title {
  color: #000 !important;
} */
.special-title:after {
  background: var(--primary);
  margin: 10px auto 0;
  border-radius: 25px;
}
.btn-primary {
  font-family: Poppins;
  color: #fff;
  /* border-radius: 50vw; */
  box-shadow: 0 4px 10px #0000004d;
}
.btn-secondary {
  /* border-radius: 50vw; */
  color: #fff !important;
  box-shadow: 0 4px 10px #0000004d;
}
footer .footer_line {
  border: none;
}
li.participar {
  background-color: transparent !important;
}
header .menu li:nth-last-child(n + 2) a {
  color: #000 !important;
}
/* footer {
  background-color: #fff !important;
  min-height: 200px;
}
.footer_menu li a {
  color: #fff !important;
} */

header .abrirMenu div {
  background-color: var(--secondary) !important;
}
.cadastreSe {
  max-width: 289px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin-bottom: 30px;
  font-weight: 700;
}

@media (max-width: 991px) {
  header .menu li {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .comoParticipar .boxStep {
    margin-bottom: 30px;
  }
  .comoParticipar .description,
  .comoParticipar .description a {
    min-height: auto;
  }
  /* header {
    background-color: #fff;
  } */
  header .menu li:nth-last-child(n + 2) a {
    display: block;
    padding: 15px 0;
  }

  header .menu li.participar {
    border: 1px var(--white) solid;
    padding: 0;
    max-width: 220px;
  }

  header .menu li.participar a {
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Royal Face — header */
header {
  background: #fff !important;
}
header .menu li:nth-last-child(n + 2) a {
  color: #262626 !important;
  font-weight: 600;
}
header .abrirMenu div {
  background-color: var(--royal-maroon) !important;
}
header .menu li.participar {
  background-color: var(--royal-maroon) !important;
  border-radius: 16px;
  overflow: hidden;
  height: 55px;
  display: flex;
  align-items: center;
  border-radius: 15px;
}
header .menu li.participar a {
  color: #fff !important;
  font-weight: 700;
  padding: 0 26px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 20px;
}

/* Royal Face — footer */
footer {
  background-color: var(--royal-maroon) !important;
}
footer .footer_final {
  background-color: var(--royal-maroon) !important;
}
footer .footer_final small {
  color: #f3d9c4 !important;
}
footer p,
footer p a,
footer a {
  color: #fff !important;
}
footer .footer_menu li a {
  color: #fff !important;
}
footer .socials li a {
  color: #fff !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--royal-tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
/* .btn força font-family: Poppins !important, o que quebra a fonte de ícones do Font Awesome */
footer .socials li a.fab {
  font-family: "Font Awesome 5 Brands" !important;
}
footer .socials {
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
}
footer .footer_line {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Royal Face — breakpoint do menu movido para 1200px (PSD mobile cobre até 1199px) */
@media (min-width: 1200px) {
  header .abrirMenu {
    display: none !important;
  }
}
@media (max-width: 1199.98px) {
  header .abrirMenu {
    display: block !important;
    width: 39px;
    float: right;
    z-index: 10;
    position: relative;
    cursor: pointer;
    padding-right: 3rem;
  }
  header .abrirMenu div {
    width: 39px;
    height: 5px;
    background-color: var(--royal-maroon) !important;
    margin: 6px 0;
    transition: 0.4s;
  }
  header .abrirMenu.change .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px);
  }
  header .abrirMenu.change .bar2 {
    opacity: 0;
  }
  header .abrirMenu.change .bar3 {
    transform: rotate(45deg) translate(-9px, -7px);
  }
  header .menu {
    display: flex !important;
    flex-direction: column;
    top: 80px;
    width: 100%;
    background: #fff;
    overflow: hidden;
    height: 0;
    transition: all 0.5s ease;
    left: 0;
    position: fixed;
  }
  header .menu li {
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    height: auto;
  }
  header .menu li a,
  header .menu li:nth-last-child(n + 2) a {
    color: #fff !important;
  }
  header .menu li.participar {
    max-width: 220px;
    margin: 15px auto 0;
    background-color: var(--royal-tan-btn) !important;
  }
  header .menu li.participar a {
    color: #1a1a1a !important;
  }
  header .menu.active {
    height: calc(100% - 80px);
    overflow-y: auto;
    background: var(--royal-maroon) !important;
  }
}
