/* Mobile First Styling */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1A1A1A;
}

p{
    margin: 0px;
}

header {
    background: #1F5E46;
    padding: 1rem;
    text-align: center;
}

.logo {
    width: 25rem;
    height: auto;
    margin-top: 3.125rem;
    margin-bottom: 1.25rem;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 2rem;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0.5rem 0;
}

.slogan {
    background: #D9D9D9;
    text-align: center;
    padding: 2rem 1rem;
    color: #1A1A1A;
}

.slogan h2 {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #1F5E46;
    color: white;
    padding: 10px 20px;
    margin-bottom: 0.625rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #00C86F;
}

button {
    background: #1F5E46;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #00C86F;
}

section {
    padding: 1.5rem 1rem;
    background-color: #FFFFFF;
    color: #1A1A1A;
}

.lista-treino {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.treino {
    background: #1F5E46;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
}

.profissional {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.125rem;
}

.img-profissional img {
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 5px;
}



form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input,
textarea {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background: #F0F0F0;
    color: #1A1A1A;
}

.popup img {
    width: 35px;
    height: 35px;

}

.popup {
    display: none;
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    align-items: center;
    gap: 15px;
}


footer {
    background: #1F5E46;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #FFFFFF;
}


.demo-banner {
  width: 21.25rem;
  height: auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0.5rem 1rem;
  background: #1A1A1A; 
  color: #fff;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  z-index: 999; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.demo-banner p,
.demo-banner a {
  margin: 0;
  text-align: left;
} 

.demo-link {
  color: white;
  text-decoration: underline;
  margin-left: 5px;
  font-weight: bold;
}

/* Nota de Demo */
.demo-link:hover {
  color: #4CAF50;
}

.demo-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 600;
}

.banner-cookie {
  width: 80%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position:fixed;
  bottom: 1rem;
  background: #1A1A1A; 
  gap: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  z-index: 999; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  left: 50%;
  transform: translateX(-50%);

}

.banner-cookie p,
.banner-cookie a {
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
} 

.cookie-btn{
  background: #1F5E46;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
}

.footer-direitos a{
  color: #fff;
  text-decoration: none;
}

@media(min-width: 600px) {
    nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .profissional {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        place-items: center;
        gap: 3rem;
    }

    .lista-treino {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop and up */
@media(min-width: 1080px) {
    .slogan {
        padding: 4rem 2rem;
    }

    .profissional {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    section {
        padding: 3rem 2rem;
    }
}