/* style.css - VidaEquilibrada.com.br */

:root {
  --verde-escuro: #1b4d3e;
  --verde-medio: #3cb371;
  --verde-claro: #a8e6cf;
  --cinza-fundo: #f7fff9;
  --branco: #ffffff;
  --texto: #2a2a2a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--cinza-fundo);
  color: var(--texto);
  line-height: 1.6;
}

header.hero {
  background: linear-gradient(90deg, var(--verde-medio), var(--verde-claro));
  color: var(--branco);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

nav {
  background: var(--verde-escuro);
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--branco);
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--verde-claro);
}

.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 30px;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

h2 {
  color: var(--verde-escuro);
  margin-top: 30px;
  border-left: 6px solid var(--verde-claro);
  padding-left: 12px;
}

section {
  margin-bottom: 30px;
}

p {
  line-height: 1.7;
}

footer {
  background: var(--verde-escuro);
  color: var(--branco);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  margin-top: 40px;
}

#btnTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--verde-medio);
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#btnTop:hover {
  background-color: var(--verde-escuro);
}

/* style.css - VidaEquilibrada.com.br */

:root {
  --verde-escuro: #1b4d3e;
  --verde-medio: #3cb371;
  --verde-claro: #a8e6cf;
  --cinza-fundo: #f7fff9;
  --branco: #ffffff;
  --texto: #2a2a2a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--cinza-fundo);
  color: var(--texto);
  line-height: 1.6;
}

header.hero {
  background: linear-gradient(90deg, var(--verde-medio), var(--verde-claro));
  color: var(--branco);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

nav {
  background: var(--verde-escuro);
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--branco);
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--verde-claro);
}

.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 30px;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

h2 {
  color: var(--verde-escuro);
  margin-top: 30px;
  border-left: 6px solid var(--verde-claro);
  padding-left: 12px;
}

section {
  margin-bottom: 30px;
}

p {
  line-height: 1.7;
}

footer {
  background: var(--verde-escuro);
  color: var(--branco);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  margin-top: 40px;
}

#btnTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--verde-medio);
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#btnTop:hover {
  background-color: var(--verde-escuro);
}

/* Footer Styles */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-links ul li,
.footer-contact p {
  margin-bottom: 0.5rem;
}

.social-icons a {
  margin-right: 0.5rem;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    margin-top: 1.5rem;
  }
}

/* ======= Estilos para Calculadoras ======= */
.calculator {
  background: var(--verde-claro);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 20px;
}

.calculator h3 {
  margin-top: 0;
  color: var(--verde-escuro);
}

.calculator label {
  display: block;
  margin: 8px 0 4px;
  font-weight: bold;
}

.calculator input,
.calculator select,
.calculator button {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.calculator button {
  background: var(--verde-escuro);
  color: var(--branco);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.calculator button:hover {
  background: var(--verde-medio);
}

.calculator p#resultadoCalorias,
.calculator p#resultadoPesoIdeal {
  font-weight: bold;
  margin-top: 10px;
}
