/* ===========================================================
   EXPOIZA - Galeria de fotos (páginas públicas)
   Mantém a identidade visual das demais páginas do site.
   =========================================================== */

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

html { scroll-behavior: smooth; }

body {
    padding-top: 90px;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background: #090909;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- HEADER / MENU ---------- */

.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,.38);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: .35s ease;
}

.header.scrolled {
    background: rgba(0,0,0,.82);
    box-shadow: 0 12px 36px rgba(0,0,0,.32);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .35s ease;
}

.header.scrolled .nav-container { padding: 10px 24px; }

.nav-logo img {
    height: 72px;
    transition: .35s ease;
    filter: drop-shadow(0 0 22px rgba(255,132,0,.32));
}

.header.scrolled .nav-logo img {
    height: 42px;
    filter: drop-shadow(0 0 8px rgba(255,132,0,.20));
}

.nav-menu { display: flex; gap: 24px; }

.nav-menu a {
    color: #e7e7e7;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: .2s;
}

.nav-menu a:hover,
.nav-menu a.active { color: #ff9f1c; }

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: #ff9f1c;
    transition: .3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

/* botão hamburguer (mobile) */
.nav-toggle {
    display: none;
    width: 46px; height: 42px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    cursor: pointer;
    padding: 11px 10px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #ff9f1c;
    border-radius: 2px;
    transition: .25s;
}

.nav-mobile {
    display: none;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.92);
    padding: 10px 24px 18px;
}

.nav-mobile.aberto { display: block; }

.nav-mobile a {
    display: block;
    padding: 13px 4px;
    color: #e7e7e7;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-mobile a.active { color: #ff9f1c; }

/* ---------- SEÇÕES ---------- */

.secao {
    position: relative;
    padding: 70px 24px 90px;
    background: #050505;
    overflow: hidden;
}

.secao::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255,132,0,.20), transparent 34%),
        linear-gradient(180deg, #090909 0%, #050505 100%);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.section-header { margin-bottom: 36px; }

.section-header span.eyebrow {
    display: block;
    color: #ffbf69;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 13px;
    font-weight: 800;
}

.section-header h1,
.section-header h2 {
    margin-top: 14px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: .98;
    font-weight: 900;
}

.section-header h1 span.destaque,
.section-header h2 span.destaque { color: #ff9f1c; }

.section-header p {
    margin-top: 18px;
    max-width: 740px;
    color: #d7d7d7;
    font-size: 18px;
    line-height: 1.6;
}

/* ---------- GRID DE ÁLBUNS ---------- */

.albuns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.album-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(0,0,0,.22);
    overflow: hidden;
    transition: .25s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,159,28,.35);
}

.album-capa {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #141414;
    overflow: hidden;
}

.album-capa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.album-card:hover .album-capa img { transform: scale(1.05); }

.album-capa .sem-capa {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #4a4a4a;
    font-size: 44px;
}

.album-contador {
    position: absolute;
    bottom: 12px; left: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #ffbf69;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    backdrop-filter: blur(6px);
}

.album-info { padding: 22px; }

.album-info .data {
    color: #ffbf69;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.album-info h3 {
    margin-top: 9px;
    font-size: 22px;
    line-height: 1.25;
}

.album-info p {
    margin-top: 10px;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.55;
}

.album-info .ver {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: #ff9f1c;
    font-size: 14px;
    font-weight: 900;
}

/* ---------- GRID DE FOTOS ---------- */

.fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.foto-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255,255,255,.08);
    cursor: pointer;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.foto-item:hover img { transform: scale(1.06); }

.foto-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
    opacity: 0;
    transition: .25s;
}

.foto-item:hover::after { opacity: 1; }

.foto-legenda {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 12px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px);
    transition: .25s;
}

.foto-item:hover .foto-legenda { opacity: 1; transform: translateY(0); }

/* ---------- LIGHTBOX ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(6px);
}

.lightbox.aberto { display: flex; }

.lightbox-img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.lightbox-legenda {
    position: absolute;
    bottom: 26px; left: 0; right: 0;
    text-align: center;
    color: #e7e7e7;
    font-size: 14px;
    padding: 0 60px;
}

.lightbox-contador {
    position: absolute;
    top: 22px; left: 24px;
    color: #ffbf69;
    font-size: 14px;
    font-weight: 900;
}

.lb-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: .2s;
}

.lb-btn:hover { background: #ff9f1c; color: #111; }

.lb-fechar { top: 18px; right: 20px; }
.lb-prev   { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next   { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-baixar {
    position: absolute;
    top: 18px; right: 86px;
    padding: 0 18px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.lb-baixar:hover { background: #ff9f1c; color: #111; }

/* ---------- BOTÕES / AVISOS ---------- */

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 900;
    transition: .2s ease;
    border: 0;
    cursor: pointer;
}

.btn-primary { background: #ff9f1c; color: #111; }

.btn-secondary {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.10);
    color: #fff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.vazio {
    border: 1px dashed rgba(255,255,255,.16);
    border-radius: 26px;
    background: rgba(255,255,255,.04);
    padding: 54px 28px;
    text-align: center;
}

.vazio .icone { font-size: 46px; }

.vazio h3 { margin-top: 14px; font-size: 24px; }

.vazio p {
    margin-top: 10px;
    color: #cfcfcf;
    line-height: 1.6;
}

/* ---------- RODAPÉ ---------- */

.rodape {
    position: relative;
    z-index: 1;
    padding: 36px 24px;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.7;
}

.rodape strong { color: #ffbf69; }

/* ---------- RESPONSIVO ---------- */

@media (max-width: 1000px) {
    .albuns-grid { grid-template-columns: repeat(2, 1fr); }
    .fotos-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu   { display: none; }
    .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
    body { padding-top: 78px; }

    .secao { padding: 46px 18px 64px; }

    .albuns-grid { grid-template-columns: 1fr; }
    .fotos-grid  { grid-template-columns: repeat(2, 1fr); gap: 9px; }

    .lb-baixar { display: none; }
    .lb-btn    { width: 44px; height: 44px; font-size: 20px; }
    .lightbox-legenda { padding: 0 20px; bottom: 18px; }
}
