/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --prim: #D35400;
    --sec: #238A3A;
    --dark: #222222;
    --bg: #F6F2EE;
    --accent: #E7B10A;
    --maxw: 1200px;
}

body {
    font-family: 'Oswald', 'Poppins', Arial, sans-serif;
    background-color: #283074;
    /* <<< aqui você pode trocar por var(--bg) */
    color: #ffffff;
    -webkit-font-smoothing: antialiased;

    /* Gradiente dourado na borda */
    border: 10px solid;
    border-image: linear-gradient(135deg, #FFD700, #E7B10A 60%, #B8860B 100%);
    border-image-slice: 1;
}

body.no-scroll {
    overflow: hidden;
    /* bloqueia a rolagem */
    height: 100%;
    /* previne scroll do mobile */
}

/* ================= NAVBAR ================= */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    border-top: 10px solid #f3c405;
    border-left: 10px solid #f3c405;
    border-right: 10px solid #f3c405;
}

.nav-wrapper ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    height: 70px;
}

.nav-wrapper li {
    position: relative;
}

.nav-wrapper a {
    text-decoration: none;
    text-transform: uppercase;
    color: #ffff03;
    font-size: 1.5rem;
    font-weight: 100;
    transition: color 0.3s ease;
}

.nav-wrapper a:hover {
    color: #ffffb1;
}

.nav-wrapper .logo-container {
    max-width: 0px;
    width: auto;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-wrapper .logo-container.visible {
    max-width: 280px;
    opacity: 1;
    transform: scale(0.5) translateX(-50%);
    /* diminui e move */
}

.nav-wrapper ul li {
    transition: transform 0.3s ease, opacity 0.3s ease;
}



/* Botão hamburguer */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    /* escondido no desktop */
    z-index: 1100;
    position: relative;
    width: 40px;
    height: 30px;
}

.menu-toggle .menu-icon,
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: "";
    display: block;
    background: #ffff03;
    height: 4px;
    border-radius: 2px;
    width: 100%;
    transition: all 0.3s ease;
    position: absolute;
}

.menu-toggle .menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle .menu-icon::before {
    top: -10px;
}

.menu-toggle .menu-icon::after {
    top: 10px;
}

/* Estado aberto (anima o X) */
.menu-toggle.open .menu-icon {
    background: transparent;
}

.menu-toggle.open .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.open .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Menu mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        /* aparece assim que a página carrega */
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        background: #292f76;
        height: 100vh;
        position: absolute;
        top: 70px;
        /* logo abaixo do header */
        right: 0;
        left: 0;
        padding: 1rem;
        display: none;
        /* escondido até o clique */
        padding-bottom: 161px;
    }

    .main-nav.open ul {
        display: flex;
        /* mostra ao clicar */
    }

    .main-nav ul li {
        margin: 1rem 0;
        text-align: center;
    }

    /* esconde logo no mobile dentro do menu fixo */
    .nav-wrapper .logo-container {
        display: none;
    }
}


/* ================= HEADER ================= */
.header {
    height: 344px;
    display: flex;
    justify-content: center;
    align-items: end;
    background: url('../images/bg-header-final.png') no-repeat center center;
    padding-bottom: 63px;
    background-size: cover;
}

.bg-header-img {
    background: url('../images/bg-header-final.png') no-repeat center center;
    background-size: cover;
}

.header img {
    max-width: 500px;
    width: 100%;
    height: auto;
    transition: opacity 0.8s ease;
}

/* ================= HERO ================= */
.hero {
    padding: 6rem 1rem;
    background: url('../images/bg-blue-1x.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.hero-content::after {
    content: "";
    background: url('../images/artistas.png') no-repeat center center;
    background-size: cover;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: .5rem;
    letter-spacing: -1px;
    align-self: center;
}

.hero span {
    font-size: 1.5rem;
    color: #FFCF9F;
    height: 87px;
    font-weight: 300;
    align-self: center;
    line-height: 64px;
}

.hero p {
    margin-bottom: 1rem;
    font-size: 2.1rem;
    color: white;
    background-color: #2d2a7e;
    align-self: center;
    width: 224px;
    padding: 15px;
}

.hero .hero-text {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 50%;
    justify-content: center;
    font-weight: 300;
}


/* ================= Artistas ================= */

.set {
    background: url('../images/bg-red-1x.png') no-repeat top left;
    background-size: cover;
}

.circle-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    align-self: center;
    border: 8px solid #000085;
    box-shadow: 18px 20px 5px 0px #000085;
    -webkit-box-shadow: 18px 20px 5px 0px #000085;
    -moz-box-shadow: 18px 20px 5px 0px rgba(40, 48, 116, 0.75);
}

.artist-card {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.artist-card h4 {
    font-size: 1.8rem;
    color: #ffffcf;
    text-shadow: 3px 6px 0px rgba(40, 48, 116, 0.75), 4px 8px 0px rgba(40, 48, 116, 0.75), 4px 8px 0px rgba(25, 58, 116, 0.75), 0 0 10px rgb(0 0 133), 0 0 20px rgb(0 0 133), 0 0 30px rgba(40, 48, 116, 0.7);
}

/* ================= MAP ================= */
.map {
    background: #2e2282;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 37.25%;
    border-radius: 12px; /* opcional: cantos arredondados */
    box-shadow: 0 0 20px rgba(0,0,0,0.2); /* opcional: sombra */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================= TICKET ================= */
.ticket {
    text-align: center;
    padding: 2rem 1rem;
    color: #000085;
    text-decoration: none;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
}

/* ================= FOOTER ================= */
footer {
    color: #fff;
    text-align: center;
    background: #283074 url('../images/bg-blue-mask-1.png') no-repeat center center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 247px;
}

footer p {
    font-size: 1rem;
    font-weight: 100;
}

footer .partner-logos {
    background: #32287ba8;
}

.site-credit {
    padding: .5rem;
    font-size: 0.9rem;
    color: #DACDFF;
    background-color: #190033;
}

.site-credit p {
    margin: 0;
    font-weight: 100;
}

/* ================= BUTTON ================= */
.btn-sombra {
    display: inline-block;
    padding: 22px 4px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2e2282;
    text-decoration: none;
    background-color: #efffb4;
    box-shadow: 18px 20px 5px rgba(40, 48, 116, 0.75);
    transition: all 0.3s ease;
    position: relative;
    border: 28px solid #f3c405;
    width: 421px;

    border: 12px solid; /* define a largura da borda */
  border-image-source: url('../images/bg-hero-blue.png'); /* imagem da borda */
  border-image-slice: 30; /* define a parte da imagem que será usada como borda */
  border-image-repeat: stretch; /* como repetir: stretch, repeat ou round */
  border-image-width: 12px; /* largura da borda (opcional) */
   border-image-slice: 50 fill; /* "fill" preenche a área central se quiser */
   /* animação */
  animation: moveBorder 300s linear infinite alternate; /* mais devagar e ida e volta */
}

.btn-sombra:hover {
    /* Movimento leve para cima */
    transform: translateY(-4px);

    /* Intensifica o brilho */
    box-shadow: 18px 20px 15px rgba(40, 48, 116, 0.85),
        0 0 20px rgba(255, 255, 255, 0.5);

    /* Leve brilho ao redor do texto */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.btn-sombra:active {
    /* Simula clique */
    transform: translateY(0);
    box-shadow: 8px 10px 5px rgba(40, 48, 116, 0.7);
}

/* ================= LOGOS ================= */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: #262a7b;
    text-align: center;
    padding: 2rem 1rem;
}

.logos-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-fac span {
    display: none;
}
.logo-sec span {
    display: none;
}

.logo-fac::before {
    content: "";
    display: block;
    background: url('../images/logo-fac.png') no-repeat center/contain;
    width: 220px;
    height: 46px;
    margin: 1rem 0;
}

.logo-sec::after {
    content: "";
    display: block;
    background: url('../images/logo-secretaria-de-cultura.png') no-repeat center/contain;
    width: 290px;
    height: 46px;
    margin: 1rem 0;
}

.box {
  display: inline-block;
  width: 367px;
  position: relative;
  padding: 20px;
  background-color: #283074;
  overflow: hidden;
  color: #efffb4;
  padding: 10px; /* largura da borda */
  background: url('../images/bg-red-1x.png') repeat;
  -webkit-mask: linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0);
  z-index: 1;
  pointer-events: none;
  /* animação */
  animation: moveBorder 82s linear infinite alternate;
  text-decoration: none;
}

.box span {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
}

.programacao-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 4rem 1rem;
}

.programacao-list a {
    text-decoration: none;
    color: #efffb4;
    pointer-events: none; /* desativa o clique */
    cursor: default;   
}

.hero-text .save-date {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    color: #ffffcf;
    font-weight: 100;
}



@keyframes moveBorder {
  0% { background-position: 0 0; 

border-image-slice: 1;       /* corta 50 unidades da imagem */}
  100% { background-position: 250px 250px; 

border-image-slice: 250;       /* corta 50 unidades da imagem */
}
}



/* ================= MEDIA QUERIES ================= */



@media (max-width: 770px) {

    body {
        border-top: 10px solid #f3c405;
        border-left: 10px solid #f3c405;
        border-right: 10px solid #f3c405;
        border: 10px solid #ffdb00;
    }

    .nav-wrapper {
        height: 80px;
    }

    .nav-wrapper a {
        font-size: 0.9rem;
    }

    .nav-wrapper .logo-container.visible {
        transform: scale(0.6);
        /* menor no mobile */
    }

    .header img {
        max-width: 300px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-content::after {
        height: 377px;
        width: 691px;
    }

    .hero .hero-text {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .set {
        background: url('../images/bg-red-1x.png') repeat top left;
        background-size: auto;
    }


    .partner-logos {
        display: flex;
        flex-direction: column;
        min-height: 171px;
        background: #262a7b;
    }

    .partner-logos p {
        width: 100%;
    }

    .partner-logos img {
        margin: 1rem 0;
        max-width: 80%;
        height: auto;
    }

}


@media screen and (max-width: 480px) {
    body {
        border: 10px solid #ffdb00;
    }

    .nav-wrapper {
        border-top: 10px solid #f3c405;
        border-left: 10px solid #f3c405;
        border-right: 10px solid #f3c405;
    }

    .nav-wrapper a {
        font-size: 0.8rem;
    }

    .nav-wrapper .logo-container.visible {
        transform: scale(0.5);
        /* ainda menor no mobile */
    }

    .header img {
        max-width: 250px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero span {
        font-size: 1.5rem;
        color: #FFCF9F;
        height: 87px;
        font-weight: 300;
        align-self: center;
        line-height: 64px;
    }

    .hero p {
        font-size: 1.8rem;
        align-self: center;
    }

    .hero .hero-text {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .hero .hero-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .hero-content::after {
        height: 253px;
        width: 223px;
    }

    .box {
        width: 222px;
    }

    footer p {
        font-size: 1rem;
    }

    footer .site-credit p {
        font-size: 0.8rem;
    }

}

@media (min-width: 769px) {

    .hero-content::after {
        min-width: 508px;
        min-height: 565px;
    }
    
    .hero p {
        width: 367px;

    }
}

@media (max-width: 1440px) {
    footer {
        min-height: 186px;
    }
}

.gradient-x-blue {
    background: url('../images/bg-red-1x.png') center/cover no-repeat;
}
