* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-celeste: #4A90E2;
    --azul-escuro: darkblue;
    --dourado-suave: #D4AF37;
    --branco-gelo: #FAFAFA;
    --cinza-escuro: #333333;
    --bege-claro: #F5EEDC;
    --preto: #000000;
    --azul-claro-fundo: #E6F0FA;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background-color: var(--azul-celeste);
}

header h1 {
    color: white;
    font-size: 50px;
    margin: 0;
    text-align: center;
    font-family: "Playfair Display";
}

header .logo img {
  height: 150px;
}

nav {
  background-color: var(--azul-escuro);
  padding: 10px 0;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  font-family: "EB Garamond";
}

.menu li a:hover {
  background-color: var(--branco-gelo);
  color: var(--azul-celeste);
}



/* C O R P O */


body {
    background-color: var(--azul-claro-fundo);
}


main {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 25px auto;
}


main {
    width: 100%;
    max-width: 1000px;
    margin: 25px auto;
    padding: 0 15px;
}

main h1, main h2 {
    background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-escuro));
    color: var(--branco-gelo);
    font-size: 35px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 60px;
    border-radius: 80px 80px 0 0;
}

main h3 {
    font-size: 30px;
    color: white;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.estrofe h4, .refrao {
    background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-escuro));
    color: var(--branco-gelo);
    text-align: center;
    font-size: 25px;
    padding: 10px 0;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    border-radius: 80px 80px 0 0;
}

.paragrafo, .paragrafo-refrao {
    text-align: center;
    font-size: 22px;
    padding: 10px 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#audio {
    text-align: center;
    margin: 20px 0;
}

section {
    position: relative;
    text-align: center;
}

section img {
    max-width: 90px;
    width: 100%;
    border-radius: 50%;
}



.fechamento {
    background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-escuro));
    padding: 30px 0;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 0 0 80px 80px;
}

.abertura-autor, .fechamento-autor {
    background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-escuro));
    padding: 10px 0;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    border-radius: 80px 80px 0 0;
}

.fechamento-autor {
    border-radius: 0 0 80px 80px;
}

.autor {
    text-align: center;
}

.logo-final-letra {
    text-align: center;
}

.logo-final-letra img {
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}



.botoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.botoes a {
  background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-escuro));
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
  font-family: "EB Garamond", serif;
  text-align: center;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.botoes a:hover {
  transition: 2s;
  background-image: linear-gradient(45deg,var(--azul-celeste), var(--azul-celeste));;
}

.logo-final-letra {
  text-align: center;
  margin-bottom: 40px;
}

.logo-final-letra img {
  max-width: 300px;
  width: 100%;
  height: auto;
}



/* R O D A P É */


footer {
  background-color: var(--azul-celeste);
  color: white;
  padding: 40px 20px;
  font-size: 0.95rem;
}

/* Container flexível */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}


/* Colunas do rodapé */
.footer-coluna {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-coluna img {
     height: 150px;
}

.footer-coluna h3,
.footer-coluna h4 {
  margin-bottom: 10px;
  color: var(--azul-escuro);
}

.footer-coluna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-coluna ul li {
  margin-bottom: 8px;
}

.footer-coluna ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-coluna ul li a:hover {
  color: var(--azul-escuro);
}

/* Responsivo: alinha ao centro em telas pequenas */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-coluna {
    max-width: 100%;
  }

  header h1 {
    font-size: 25px;
  }

}



/* RESPONSIVO */

@media (max-width: 480px) {


    main h1, main h2, .fechamento, .estrofe h4, .refrao, .abertura-autor, .fechamento-autor {
        font-size: 22px;
        padding: 15px 0;
        max-width: 90%;
    }

    .paragrafo, .paragrafo-refrao {
        font-size: 18px;
        max-width: 90%;
    }

}


@media (max-width: 600px) {
  .botoes {
    flex-direction: column;
    align-items: center;
  }

  .botoes a {
    width: 90%;
    font-size: 1.1rem;
    min-width: unset;
    flex: unset;
  }
}
