/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;

}

/*====REDES SOCIAIS====*/
.social-bar {
    background: none;
    padding: 1px 2px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    
}

.icon-gold {

    width: 34px;
    height: 34px;
    transition: 0.3s;
    filter: drop-shadow(0 0 2px rgba(255,215,0,0.8));
}

.social-bar a:hover .icon-gold {
    transform: scale(1.2);
    filter: drop-shadow(0 0 7px rgba(255,215,0,1));
}

.social-bar a {
    text-decoration: none;
}



/* conteúdo principal cresce */
.container {
    flex: 1;
}


/* IMAGEM DE FUNDO */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: url("programa/imagens/nova_logo.png") center/cover no-repeat;

    background-color: #fcffddff;
    background-size: 1500px; /* tamanho da logo */
    opacity: 0.4; /* bem suave */
    z-index: -2;
}

/* CAMADA OPCIONAL (melhora leitura) */
body::after {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(255,255,255,0.7); /* ou preto se quiser escuro */
    z-index: -1;
}


/* ================= HEADER ================= */
.header {
    background-color: #270221;
    text-align: center;
    padding: 20px;

}

.logo {
    max-width: 250px;
    height: auto;
    position: relative;
    display: inline-block;
    transition: 0.3s;
}

/* Sombra dourada ao passar o mouse */
.logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

/* CAMADA DE BRILHO */
.logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 215, 0, 0.6),
        transparent
    );

    transform: skewX(-25deg);
    pointer-events: none;
}

/* ANIMAÇÃO DO BRILHO */
.logo:hover::after {
    animation: brilho 1s ease forwards;
}

@keyframes brilho {
    from {
        left: -100%;
    }
    to {
        left: 150%;
    }
}

body {
    margin: 0;
}


/* ================= MENU ================= */
.menu {
    background: #2f0327;
}

/* REMOVE MARCADORES */
.menu ul {
    list-style: none;
}

/* MENU PRINCIPAL */
.menu > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ITENS */
.menu > ul > li {
    position: relative;
}

/* LINKS */
.menu a {
    display: block;
    padding: 15px 20px;
    color: yellow;
    text-decoration: none;
    white-space: nowrap;
}

.menu a:hover {
    background: #680259;
}

/* ================= SUBMENU ================= */
.menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #45053b;
    min-width: 180px;
    flex-direction: column;
}

.menu {
    position: relative;
    z-index: 1000;
}

.submenu {
    position: absolute;
    z-index: 2000;
}

/* ITENS DO SUBMENU */
.menu ul ul li {
    width: 100%;
}

/* ABRIR SUBMENU (JS) */
.dropdown.open > ul {
    display: flex;
}

/* ================= CONTEÚDO ================= */
.container {
    padding: 30px;
    text-align: center;
}

/* ================= CARDS ================= */
.cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: rgba(243, 239, 134, 0.5); /* transparência */
    padding: 30px;
    text-decoration: none;
    color: #270221;
    border-radius: 45px 0px 45px 0px;
    flex: 1 1 200px;
    transition: 0.3s;
}

.card:hover {
    background: #e69bda;
    transform: scale(1.05);
}

.icon {
    justify-content: center;

}



/* ================= FOOTER ================= */
.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 15px;
    background: #270221;
    color: yellow;
    font-size: 0.8rem;
}

/* ícones à esquerda */
.social-footer {
    justify-self: start;
    display: flex;
    gap: 15px;
}

/* texto central */
.footer p {
    justify-self: center;
    margin: 0;
}

/* 👇 AQUI está o controle dos ícones */
.icon-footer {
    width: 20px;
    height: 20px;
    transition: 0.3s;
    filter: drop-shadow(0 0 2px rgba(255,215,0,0.6));
}

/* 👇 animação que você tinha */
.icon-footer:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(212,175,55,0.8));
}


@media (max-width: 768px) {

    .menu > ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        width: auto !important;
    }
}

/*PÁGINA DA ANATOMIA====================================== */

/* ===== TABS ===== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* BOTÕES */
.tab {
    padding: 10px 20px;
    border: none;
    background: #270221;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: bold; /* 🔥 melhora visual */
    color: yellow;
}

/* ATIVO */
.tab.active {
    background: #5f0226;
    color: white;
}

/* HOVER */
.tab:hover {
    background: #e69bda;
}

/* CONTEÚDO */
.tab-content {
    display: none;
    max-width: 800px;
    width: 100%; /* 🔥 evita quebra estranha */
    margin: 20px auto; /* 🔥 melhora espaçamento */
    text-align: left;
    line-height: 1.6;
    background: #f7f6d7; /* 🔥 melhor contraste */
    padding: 25px;
    border-radius: 35px 0px 35px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 🔥 aparência profissional */
}

/* CONTEÚDO ATIVO */
.tab-content.active {
    display: block;
}

/* 🔥 IMAGENS (ESSENCIAL) */
.tab-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

/* 🔥 PARÁGRAFOS */
.tab-content p {
    margin-bottom: 10px;
}

/* 🔥 MOBILE */
@media (max-width: 768px) {
    .tab {
        width: 100%;
        text-align: center;
    }

    .tab-content {
        padding: 15px;
    }
}



/*PÁGINA DE RITMOS =============================================================*/

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    background: #eee;
}

/* HEADER */
header {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* MENU PRINCIPAL */
.menu-principal {
    background: #444;
}

.menu-principal ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.menu-principal li {
    margin: 0 15px;
}

.menu-principal a {
    display: block;
    padding: 15px;
    color: #fff;
    text-decoration: none;
}

.menu-principal a:hover {
    background: #666;
}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* ===== MENU DE RITMOS ===== */

.ritmos-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-bottom: 20px;
}

.ritmos-menu li {
    position: relative;
}

/* BOTÕES */
.ritmos-menu button {
    background: #270221;
    color: yellow;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.ritmos-menu button:hover {
    background: #e69bda;
}

/* SUBMENU */
.ritmos-menu .submenu {
    display: none;
    position: static;
    top: 110%;
    left: 0;
    background: #270221;
    list-style: none;
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
}

.ritmos-menu .submenu li button {
    width: 100%;
    text-align: left;
    padding: 10px;
    background: #270221;
}

.ritmos-menu .submenu li button:hover {
    background: #e69bda;
}

/* MOSTRAR SUBMENU */
.ritmos-menu li.active > .submenu {
    display: block;
}

/* ===== ÁREA DE EXIBIÇÃO ===== */

#display-area {
    display: none;
    background: #f7f6d7;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

#display-area.active {
    display: block;
}

/* IMG */
#img-display {
    max-width: 100%;
    margin-bottom: 15px;
}

/* AUDIO */
#audio-display {
    width: 100%;
    margin-bottom: 15px;
}

/* VIDEO */
#video-display {
    max-width: 100%;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    /* MENU PRINCIPAL */
    .menu-principal ul {
        flex-direction: column;
        align-items: center;
    }

    /* MENU RITMOS */
    .ritmos-menu {
        flex-direction: column;
        align-items: center;
    }

    .ritmos-menu li {
        width: 100%;
        text-align: center;
    }

    .ritmos-menu button {
        width: 90%;
    }

    /* SUBMENU MOBILE */
    .ritmos-menu .submenu {
        position: static;
        width: 90%;
        margin: 5px auto;
    }
}


/*=====MENU DE ACORDES=====*/

.acordes-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.acordes-menu li {
    position: relative;
}

.acordes-menu > li > button {
    background: #270221;
    color: yellow;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.acordes-menu > li > button:hover {
    background: #e69bda;
}

/* SUBMENU */
.acordes-menu .submenu {
    display: none;
    position: static;
    top: 110%;
    left: 0;
    background: #270221;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
    min-width: 140px;
}

.acordes-menu .submenu li button {
    width: 100%;
    text-align: left;
    padding: 10px;
    background: #270221;
    color: yellow;
}

.acordes-menu .submenu li button:hover {
    background: #e69bda;
}

.acordes-menu li.active > .submenu {
    display: block;
}

/* ÁREA DE EXIBIÇÃO */
#display-area {
    display: none; /* oculto inicialmente */
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    border-radius: 35px 0 35px 0;
    min-height: 300px; /* aumenta o espaço */
    background-color: #f7f6d7;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%; /* ocupa toda a largura disponível */
    flex-direction: column;
}

#display-area img {
    width: auto;       /* mantém proporção */
    height: 100%;      /* ocupa toda altura do container */
    max-width: 500px;  /* opcional, limita tamanho máximo */
    max-height: 500px; /* opcional */
    object-fit: contain; /* mantém proporção da imagem */
    display: block;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .acordes-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .acordes-menu > li > button {
        width: 100%;
    }

    .acordes-menu .submenu {
        position: static;
        width: 100%;
        margin-top: 5px;
    }
}

/* ÁREA DE EXIBIÇÃO DOS ACORDES */
#display-area {

    background-color: #f7f6d7; /* fundo branco */
    padding: 20px;
    border-radius: 35px 0px 35px 0px;
    min-height: 200px; /* garante espaço */
    display: flex none;

    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

#display-area img {
    max-width: 100%;   /* a imagem não ultrapassa o container */
    max-height: 300px; /* altura máxima */
    display: block;
}

#conceito{
    font-size: 1.17em;
    font-weight: bold;
}

.tab-content a {
    text-decoration: none;
    color: #270221;
    font-weight: bold;
}

.tab-content a:hover {
    color: #e69bda;
}

.tab-content a:visited {
    color: rgb(255, 183, 0);
}

.tab-content a:visited::before {
    content: "✔ ";
    color: green;
    font-weight: bold;
}

.whatsapp-fixo {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-fixo img {
    width: 40px;
    height: 40px;
}

.whatsapp-fixo:hover {
    transform: scale(1.1);
}



/* ================= LINKS DE MÚSICAS ================= */

.musicas-page .tab-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

.tab-content h3 {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 2;
}

.icon-link {
  width: 28px;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;

  transition: transform 0.25s ease, filter 0.25s ease;
}

.icon-link:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #270221);
}
.musica a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.musica span {
  display: block;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .musica a {
    align-items: flex-start; /* evita desalinhamento vertical */
  }

  .musica span {
    font-size: 16px;
  }
}

/*=====PÁGINA DE LEITURAS=====*/

.leituras-page .tab-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

.tab-content h3 {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 2;
}

.icon-link {
  width: 28px;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;

  transition: transform 0.25s ease, filter 0.25s ease;
}

.icon-link:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #270221);
}

.musica a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.musica span {
  display: block;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .musica a {
    align-items: flex-start; /* evita desalinhamento vertical */
  }

  .musica span {
    font-size: 16px;
  }
}

/*=====PÁGINA DE PROJETOS=====*/

.projetos-page .tab-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

.tab-content h3 {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 2;
}

.icon-link {
  width: 28px;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;

  transition: transform 0.25s ease, filter 0.25s ease;
}

.icon-link:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #270221);
}

.musica a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.musica span {
  display: block;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .musica a {
    align-items: flex-start; /* evita desalinhamento vertical */
  }

  .musica span {
    font-size: 16px;
  }
}



.icon-tiofu {
  width: 110px;
  margin-right: 4px;
  vertical-align: middle;
  cursor: pointer;

  transition: transform 0.25s ease, filter 0.25s ease;
}

.icon-tiofu:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgb(227, 2, 2));
}