@font-face {
  font-family: 'Fifties';
  src: url('../fonts/fifties-font-1795096355-0/VVDS-Fifties-Med-Reg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fifties';
  src: url('../fonts/fifties-font-1795096355-0/VVDS-Fifties-Med-Med.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fifties';
  src: url('../fonts/fifties-font-1795096355-0/VVDS-Fifties-Med-SBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fifties';
  src: url('../fonts/fifties-font-1795096355-0/VVDS-Fifties-Med-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F5F4E8;
}

.error-msg {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 4px;
}

.hero-gradient {
  background: linear-gradient(180deg, #0a1a3a 0%, #1a3a6a 100%);
}

.spacious01 {
height: 80px;
}

.section-dark {
  background: #0a1a3a;
}

.section-darker {
  background: #061230;
}

.gold-underline {
  border-bottom: 3px solid #f5c518;
  display: inline-block;
  padding-bottom: 4px;
}

.styles-links a,
.menu-link {
  font-family: 'Fifties', 'Montserrat', sans-serif;
}

.styles-links a {
  font-size: 17px;
}

@media (max-width: 768px) {
  .banner-mobile {
    margin-top: 0px;
  }
}

/* Header ao rolar: sombra sutil em degradê, sem fundo sólido */
.header-scrolled {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0) 100%);
}

.titulo-fisterra {
  font-family: 'fisterra-fora', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #0A3128;
  text-align: center;
}

.legenda-fifties {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: #0A3128;
  text-align: center;
  letter-spacing: 5px;
}

.lista-premios {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: #0A3128;
  text-align: center;
  list-style: none;
}

@media (max-width: 640px) {
  .titulo-fisterra { font-size: 32px; }
  .legenda-fifties { font-size: 16px; }
}

.btn-cadastrar {
  display: inline-block;
  background-color: #FFAA33;
  color: #0A3128;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 27px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 9999px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-cadastrar:hover {
  opacity: 0.9;
}

/* Como participar (carrossel) */
.como-participar {
  background-color: #134038;
}

.titulo-claro {
  color: #FFFFFF;
}

.carrossel-trilho {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carrossel-trilho::-webkit-scrollbar {
  display: none;
}

.carrossel-card {
  flex: 0 0 300px;
  min-height: 205px;
  scroll-snap-align: start;
  background-color: #0A3128;
  border-radius: 28px;
  padding: 12px 24px 28px;
  color: #F5F4E8;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 30px;
  line-height: 1.25;
}

.carrossel-card p {
  margin-top: 16px;
  font-weight: normal;
}

.carrossel-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background-color: #FFAA33;
  color: #0A3128;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 28px;
  line-height: 1;
}

.carrossel-seta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #22B27F;
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity 0.2s;
}

.carrossel-seta:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .carrossel-card { flex-basis: 240px; }
}

/* Busca de lojas (select estilizado) */
.busca-lojas {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.busca-lojas-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-color: #FFAA33;
  color: #0A3128;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  padding: 22px 64px 22px 84px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  outline: none;
}

.busca-lojas-select:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 6px 14px rgba(0, 0, 0, 0.25);
}

.busca-lojas-select option,
.busca-lojas-select optgroup {
  color: #0A3128;
  background-color: #FFFFFF;
  text-transform: none;
}

.busca-lojas-icone,
.busca-lojas-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.busca-lojas-icone {
  left: 32px;
  width: 30px;
  height: 30px;
  color: #FFF6E0;
}

.busca-lojas-seta {
  right: 28px;
  width: 24px;
  height: 24px;
  color: #0A3128;
}

@media (max-width: 640px) {
  .busca-lojas-select { font-size: 16px; padding: 18px 52px 18px 68px; }
  .busca-lojas-icone { left: 24px; width: 26px; height: 26px; }
}

/* Dúvidas frequentes (acordeão) */
.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.faq-item {
  border-radius: 24px;
  overflow: hidden;
  background-color: #C8CFC4;
}

.faq-pergunta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 36px 48px;
  background-color: #134038;
  color: #F5F4E8;
  border-radius: 24px;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-seta {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  transition: transform 0.25s;
}

.faq-seta-aberta {
  transform: rotate(180deg);
}

.faq-resposta > * {
  padding: 40px 48px 44px;
}

.faq-resposta {
  color: #0A3128;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 100;
}

@media (max-width: 640px) {
  .faq-pergunta { padding: 24px 20px; font-size: 17px; }
  .faq-resposta { font-size: 17px; }
  .faq-resposta > * { padding: 28px 20px 32px; }
}

/* Rodapé */
.footer-natal {
  background-color: #134038;
  color: #FFFFFF;
  font-family: 'Fifties', 'Montserrat', sans-serif;
}

.footer-natal-barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px;
}

.footer-natal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 56px;
}

.footer-natal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #FFFFFF;
  transition: opacity 0.2s;
}

.footer-natal-link:hover {
  opacity: 0.8;
}

.footer-natal-icone {
  width: 28px;
  height: 28px;
}

.footer-natal-seta {
  width: 16px;
  height: 16px;
}

.footer-natal-logo {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-natal-legal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .footer-natal-barra { flex-direction: column; text-align: center; }
  .footer-natal-links { justify-content: center; gap: 12px 28px; }
}

/* Modal (tela inicial: login / cadastro) */
.modal-card {
  padding: 8px 8px 16px;
}

.modal-titulo {
  font-family: 'fisterra-fora', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #F5F4E8;
  margin-bottom: 24px;
}

.modal-input {
  width: 100%;
  background-color: #0A3128;
  color: #FFFFFF;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  padding: 18px 28px;
  border: 0;
  border-radius: 14px;
  outline: none;
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.modal-input:focus {
  box-shadow: 0 0 0 2px #FFAA33;
}

.modal-botao {
  background-color: #FFAA33;
  color: #0A3128;
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 40px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-botao:hover:not(:disabled) {
  opacity: 0.9;
}

.modal-botao:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-natal .error-msg {
  color: #FF9E8F;
}

/* Header fixo: evita que as âncoras fiquem escondidas atrás dele */
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

.modal-nome-promo {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .modal-nome-promo { font-size: 26px; }
}

.modal-texto {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #F5F4E8;
}

.modal-th {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFAA33;
}

/* Páginas internas (ex.: regulamento): faixa verde atrás do header fixo */
.pagina-topo {
  background-color: #134038;
  padding: 160px 16px 64px;
  text-align: center;
}

.legenda-clara {
  color: #F5F4E8;
}

.faq-resposta strong {
  font-weight: 700;
}

/* Textos longos (política de privacidade) */
.texto-legal {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #0A3128;
}

.texto-legal > * + * {
  margin-top: 20px;
}

.texto-legal h2 {
  font-family: 'fisterra-fora', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #0A3128;
  margin-top: 48px;
}

.texto-legal h3 {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0A3128;
  margin-top: 32px;
}

.texto-legal h4 {
  font-family: 'Fifties', 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: #134038;
  margin-top: 24px;
}

.texto-legal strong {
  font-weight: 700;
}

.texto-legal ul {
  list-style: disc;
  padding-left: 24px;
}

.texto-legal ul > li + li {
  margin-top: 6px;
}

.texto-legal a {
  color: #134038;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .texto-legal { font-size: 15px; }
  .texto-legal h2 { font-size: 24px; }
}

/* Logo do header: usa a cor do texto (verde no mobile, branco no desktop) */
.logo-header {
  display: block;
  width: 160px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask: url('../../logo-black.svg?v=1') no-repeat left center / contain;
  mask: url('../../logo-black.svg?v=1') no-repeat left center / contain;
}

@media (min-width: 1024px) {
  .logo-header { width: 200px; height: 40px; }
}

/* Mobile/tablet: header com fundo claro e sombra sutil ao rolar */
@media (max-width: 1023px) {
  .header-principal.header-scrolled {
    background: #F5F4E8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
}
