/* ============================================================
   VARIÁVEIS E RESET
============================================================ */
:root {
    --laranja: #e6a143;
    --laranja-vivido: #d2430a;
    --rosa-neon: #ff7eb9;
    --marrom-acinzentado: #433c39;
    --roxo: #56415f;
    --fonte-normal: 16px;
    --fonte-grande: 20px;
    --fonte-maior: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;

}
html, body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================================
   HEADER + NAV
============================================================ */
header {
    background: linear-gradient(to right, var(--roxo), var(--marrom-acinzentado));
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* Padronização global dos botões da barra superior */
#toggle-theme,
#menu-toggler,
#leitor-site {
    padding: 10px 14px;
    height: 42px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    border-radius: 8px;
    box-sizing: border-box;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    z-index: 1003;
}

/* NAV DESKTOP */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   MENU HAMBÚRGUER (ESTILO + ANIMAÇÃO)
============================================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    width: 58px;       /* área confortável */
    height: 58px;
    padding: 12px;

    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;   /* moderno */
    cursor: pointer;

    position: relative;
    z-index: 1002;

    transition: all 0.25s ease-in-out;
}

/* BARRAS DO HAMBÚRGUER */
.menu-toggle .line {
    width: 34px;       /* maior */
    height: 4px;       /* mais grossinha: estilo UI */
    background-color: white;
    border-radius: 4px;   /* deixa redondinho */
    margin: 4px 0;
    transition: all 0.35s ease;
    transform-origin: center;
}
/* HOVER NAS LINHAS */
.menu-toggle:hover .line {
    background-color: var(--laranja);
}

/* ANIMAÇÃO DE X — ESTILO MODERNO */
.menu-toggle.active .line1 {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .line2 {
    opacity: 0;
    transform: scale(0.3);
}

.menu-toggle.active .line3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* HOVER QUANDO ESTÁ EM X */
.menu-toggle.active:hover .line1,
.menu-toggle.active:hover .line3 {
    background-color: var(--laranja);
}


/* ============================================================
   NAV MOBILE
============================================================ */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background: linear-gradient(to bottom, var(--roxo), var(--marrom-acinzentado));
        flex-direction: column;
        padding: 90px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -3px 0 15px rgba(0, 0, 0, 0.3);
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        font-size: 18px;
        width: 100%;
        display: block;
        padding: 12px;
    }

    nav ul li a:hover {
        background: rgba(255,255,255,0.2);
        transform: translateX(5px);
    }

    .logo {
        font-size: 1.4rem;
    }
}

/* ============================================================
   OVERLAY
============================================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}
/* -----------------------------------
   SEÇÕES E TÍTULOS
----------------------------------- */
.titulo-secao {
    text-align: center;
    margin: 2rem 0;
    color: var(--roxo);
    position: relative;
    padding-bottom: 0.5rem;
}

.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--laranja);
}

/* -----------------------------------
   CARDS
----------------------------------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-conteudo {
    padding: 1.5rem;
}

.card h3 {
    color: var(--laranja-vivido);
    margin-bottom: 0.6rem;
}

/* -----------------------------------
   PÁGINAS
----------------------------------- */
.pagina {
    display: none;
    padding: 2rem 0;
}

.pagina.ativa {
    display: block;
}

.sobre-conteudo, 
.quem-somos-conteudo, 
.exposicoes-conteudo, 
.tecnicas-conteudo {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

/* -----------------------------------
   TIME
----------------------------------- */
.membros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.membro {
    text-align: center;
}

.membro img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--laranja);
    margin-bottom: 1rem;
}

.membro h3 {
    color: var(--roxo);
}

.membro p {
    color: var(--marrom-acinzentado);
}

/* -----------------------------------
   MENU DE EXPOSIÇÕES
----------------------------------- */
.exposicoes-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.exposicoes-menu button {
    padding: 0.9rem 1.7rem;
    background-color: var(--laranja);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.exposicoes-menu button:hover {
    background-color: var(--laranja-vivido);
    transform: translateY(-2px);
}

.exposicoes-menu button.ativo {
    background-color: var(--laranja-vivido);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* -----------------------------------
   CONTEÚDO DAS EXPOSIÇÕES
----------------------------------- */
.exposicao {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.exposicao.ativa {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.exposicao h3 {
    color: var(--laranja);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* -----------------------------------
   GALERIA
----------------------------------- */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.item-galeria {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.item-galeria:hover img {
    transform: scale(1.07);
}

.legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 0.6rem;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.item-galeria:hover .legenda {
    transform: translateY(0);
}

/* -----------------------------------
   MODAL
----------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-conteudo {
    max-width: 90%;
    max-height: 80%;
    border-radius: 6px;
    display: block;
    margin: auto;
}

.modal-fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-fechar:hover {
    color: var(--laranja);
}

.modal-titulo {
    color: white;
    text-align: center;
    margin-top: 10px;
}

/* -----------------------------------
   RESPONSIVIDADE
----------------------------------- */
@media (max-width: 768px) {

    .galeria {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .exposicoes-menu {
        flex-direction: column;
        align-items: center;
    }

    .exposicoes-menu button {
        width: 100%;
        max-width: 300px;
    }

    .nav-container {
        flex-direction: column;
    }

    .carrossel {
        height: 300px;
    }
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
    background-color: var(--marrom-acinzentado);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-conteudo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-contato h3, 
.footer-redes h3 {
    margin-bottom: 1rem;
    color: var(--laranja);
}

.footer-redes ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.footer-redes a {
    color: white;
    font-size: 1.5rem;
}

footer img {
    width: 100%;
    height: auto;
    display: block;
}


.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

