/* ==========================================================================
   1. RESET E CONFIGURAÇÕES GERAIS DA TELA
   ========================================================================== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Google Sans", sans-serif;
    background-color: #f4f5f7; 
    color: #1c1e24;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   2. ESTILIZAÇÃO DO NAV BAR (FIXO NO TOPO - DESTRAVADO)
   ========================================================================== */
nav {
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    font-family: "Google Sans", sans-serif;
    margin-top: 0;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    background-color: #000000;
    color: #fff;
    z-index: 1000;
    pointer-events: auto; 
}

.logo-img img {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 150px;
    height: auto;
    margin-left: 20px;
    justify-content: space-between;
    filter: invert(100%);
}

.nav-item {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-right: 150px; 
}

.nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.nav-item li a {
    padding-left: 20px;
    color: #fff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1010;
}

.nav-item li a:hover {
    color: #2424ff;
    transition: 2s;
}

.acesso {
    padding: 10px 40px;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: "Google Sans", sans-serif;
    cursor: pointer;
    transition: 1s color;
    margin-left: -40px; 
    background: none;
    outline: none;
}

.acesso:hover {
    color: #2424ff;
    transition: 2s;
}

/* Configuração do Menu Dropdown de Acesso */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000000;
    border: 1px solid #222222;
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
}

#dropdownMenu.show {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #111111;
    color: #2424ff !important;
}

/* ==========================================================================
   3. SEÇÃO: ADMINISTRAÇÃO DE CATÁLOGO
   ========================================================================== */
.secao-catalogo {
    width: 100%;
    padding: 180px 20px 100px 20px; 
    background-color: #f4f5f7; 
}

.catalogo-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 80px;
    align-items: center;
}

.catalogo-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.catalogo-texto h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1c1e24;
    margin-bottom: 40px; 
}

.catalogo-texto p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5c6270;
    text-align: justify;
}

.catalogo-midia {
    width: 100%;
    display: flex;
    justify-content: center;
}

.imagem-catalogo-unica {
    width: 100%;
    max-width: 540px; 
    background-color: #d1d5db; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden; 
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagem-catalogo-unica img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.imagem-catalogo-unica.revelado {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   4. SEÇÃO: RELATÓRIO INTELIGENTE
   ========================================================================== */
.secao-relatorio {
    width: 100%;
    padding: 100px 20px;
    background-color: #ffffff; 
}

.relatorio-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 80px;
    align-items: center;
}

.relatorio-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.relatorio-texto h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1c1e24;
    margin-bottom: 40px; 
}

.relatorio-texto p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5c6270;
    text-align: justify;
}

.relatorio-midia {
    width: 100%;
    display: flex;
    justify-content: center;
}

.imagem-relatorio-unica {
    width: 100%;
    max-width: 540px; 
    background-color: #d1d5db; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden; 
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagem-relatorio-unica img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.imagem-relatorio-unica.revelado {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. ESTILIZAÇÃO DO RODAPÉ PRETO (FOOTER - CORRIGIDO E ALINHADO)
   ========================================================================== */
footer {
    background-color: #000000;
    padding: 50px 0 20px 0;
    width: 100%;
    font-family: sans-serif;
    margin-top: auto; 
}

.container-footer {
    max-width: 100%;
    padding: 0 10%; 
    margin: 0 auto;
    box-sizing: border-box;
}

.row-footer {
    display: flex;
    width: 100%;
    justify-content: space-between; 
    align-items: center;
}

footer h4 {
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin: 10px 0;
}

footer ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: white;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: #2424ff;
    transition: 1.5s;
}

.logo-dmalt-music-rodape {
    width: auto;
    max-width: 150px; 
    box-sizing: border-box;
    filter: invert(100%);
}

.logo-dmalt-music-rodape img {
    width: 100%;
    height: auto;
}

.col-politicas {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;     
}

.col-politicas ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.row-copyright {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #111111;
    width: 100%;
}

.row-copyright p {
    color: white;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
}

/* ==========================================================================
   6. REGRAS DE RESPONSIVIDADE (MOBILE / CELULARES)
   ========================================================================== */
@media (max-width: 1100px) {
    .catalogo-container, .relatorio-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .catalogo-texto, .relatorio-texto {
        align-items: center;
    }
    
    .catalogo-texto p, .relatorio-texto p {
        text-align: center;
    }
    
    .imagem-catalogo-unica, .imagem-relatorio-unica {
        max-width: 440px;
    }
}

@media (max-width: 768px) {
    .container-footer {
        padding: 0 5%;
    }

    .row-footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .logo-dmalt-music-rodape {
        align-items: center;
    }

    .col-politicas, 
    .col-politicas ul {
        align-items: center;
        text-align: center;
    }
}
