/* ==========================================================================
   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 {
    font: inherit;
    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;
    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;
    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. ESTILIZAÇÃO DO TOPO INSTITUCIONAL (DMALT)
   ========================================================================== */
.secao-topo {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 80px; 
    align-items: center; 
    padding: 180px 20px 80px 20px; 
}

.secao-topo article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.secao-topo article h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1c1e24;
    letter-spacing: -1px;
    margin-bottom: 40px; 
}

.secao-topo article p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5c6270;
    text-align: justify;
}

.secao-topo .moldura-logo {
    width: 100%;
    max-width: 480px; 
    aspect-ratio: 1 / 1; 
    display: flex;
    justify-content: center;
    align-items: center; 
    justify-self: center;
    background: none;
    border: none;
    box-shadow: none;
}

.secao-topo .moldura-logo img {
    max-width: 80%; 
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   4. ESTILIZAÇÃO DA GRADE DE SERVIÇOS (4 QUADRADOS ANIMADOS)
   ========================================================================== */
.secao-servicos {
    width: 100%;
    padding: 60px 20px 120px 20px;
}

.secao-servicos header {
    text-align: center;
    margin-bottom: 90px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.secao-servicos header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1c1e24;
}

.secao-servicos > div {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px;
    grid-auto-rows: 1fr;
}

.secao-servicos > div > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 32px 32px 32px;
    background-color: #ffffff; 
    border-radius: 12px;
    height: 100%;
    position: relative;
    overflow: hidden;
    
    border-left: 1px solid #e2e4e9;
    border-right: 1px solid #e2e4e9;
    border-bottom: 1px solid #e2e4e9;
    
    opacity: 0;
    transform: translateY(40px);
    
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); 
}

.secao-servicos > div > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; 
    height: 4px;
    background-color: #00b4d8;
    border-radius: 0 0 4px 4px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.secao-servicos > div > div:hover {
    transform: translateY(-8px) scale(1.01); 
    border-color: rgba(0, 180, 216, 0.2);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.secao-servicos > div > div:hover::before {
    width: 100%;
    border-radius: 0;
}

.secao-servicos > div > div h4 {
    font-size: 1.3rem;
    color: #1c1e24; 
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.secao-servicos > div > div:hover h4 {
    color: #00b4d8;
    transform: translateY(-2px); 
}

.secao-servicos > div > div p {
    color: #5c6270; 
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    transition: color 0.3s ease;
}

.secao-servicos > div > div:hover p {
    color: #2d313a; 
}

.secao-servicos > div > div.ativado {
    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 {
    display: none !important;
}

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: 40px;
    padding-top: 15px;
    border-top: 1px solid #111111;
    width: 100%;
}

.row-copyright p {
    color: white;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
}

/* ==========================================================================
   6. RESPONSIVIDADE (MOBILE / CELULARES)
   ========================================================================== */
@media (max-width: 1100px) {
    .secao-topo {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 140px 20px 40px 20px;
    }

    .secao-topo article {
        align-items: center; 
    }

    .secao-topo article p {
        text-align: center;
    }

    .secao-topo .moldura-logo {
        max-width: 320px; 
        aspect-ratio: auto; 
    }
    
    .secao-topo .moldura-logo img {
        max-width: 240px;
    }

    .secao-servicos > div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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;
    }

    .secao-servicos header {
        margin-bottom: 40px;
    }

    .secao-servicos header h2 {
        font-size: 2rem;
    }

    .secao-servicos > div {
        grid-template-columns: 1fr;
        gap: 20px;
    }}