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

html{
    width: 100%;
    overflow-x: hidden;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #2b2b2b;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 243, 176, 0.9),
            rgba(255, 152, 0, 0.75),
            rgba(77, 208, 225, 0.75)
        ),
        url("imagens/background-praia.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* HEADER */
header {
    max-width: 1200px;
    margin: auto;
}

/* LOGO COM DEGRADÊ */
.logo {
    width: 100%;
    background: linear-gradient(
        to bottom,
        #ff9800,
        #ff5722
    );
    padding: 20px 0;
}

.logo img {
    display: block;
    max-width: 420px;   /* controla o tamanho da logo */
    width: 90%;
    margin: auto;
}

/* =========================
   IDIOMAS
========================= */
.lang-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
}

.lang-btn {
    width: 36px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HOVER */
.lang-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* FOCO ACESSIBILIDADE */
.lang-btn:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* IDIOMA ATIVO */
.lang-btn.active {
    box-shadow: 0 0 0 3px #00bcd4;
    transform: scale(1.12);
}

/* MENU */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin: 12px auto;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background: orangered;
    margin: 6px 0;
    border-radius: 4px;
    transition: 0.3s;
}

/* ANIMAÇÃO DO HAMBÚRGUER */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MENU LINKS */
.menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.menu a {
    background-color: orangered;
    color: rgb(136, 208, 250);
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    background-color: rgb(136, 208, 250);
    color: orangered;
}


/* TÍTULOS */
h1 {
    color: orangered;
    margin: 40px 0 20px;
}

/* GRID ARTISTAS */
.artista {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
    justify-items: center;
}

.artista img {
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.artista img:hover {
    transform: scale(1.05);
}

/* PATROCÍNIO */
.Patrocinio img {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox.show {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.artista-centro {
    grid-template-columns: 1fr;   /* força uma coluna */
    justify-content: center;      /* centraliza o grid */
}

.artista-centro img {
    margin: auto;                 /* garante centralização absoluta */
}

footer {
    background: linear-gradient(
        to right,
        #00bcd4,
        #4dd0e1
    );
    color: #004d40;
    text-align: center;
    font-weight: bold;
    padding: 12px 8px;
    font-size: 14px;
    line-height: 1.3;

    width: 100%;
}

footer span {
    display: inline;
    margin: 0;
    padding: 0;
}

@media (max-width: 480px) {
    footer {
        padding: 8px 6px;
        font-size: 8px;
        line-height: 1.2;
    }
}


/* RESPONSIVO */
@media (max-width: 900px) {
    .artista {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .logo img {
        max-height: 160px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        width: 90%;
    }

    .artista {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}
