/* 
  Estilos Profissionais - Clarity & Softness com Gradiente
  Fonte recomendada: "Inter", já importada no HTML
*/

/* ===================== */
/* VARIÁVEIS DE CORES E FONTE */
/* ===================== */
:root {
  --font-base: 'Inter', sans-serif;

  /* Cores */
  --color-gradient: linear-gradient(135deg, #0077b6, #0096c7); /* Gradiente principal */
  --color-primary: #0077b6; /* Cor inicial do gradiente */
  --color-secondary: #0096c7; /* Cor final do gradiente */
  --color-background: #e9f5f9; /* Off-white suave */
  --color-card-bg: #FFFFFF;    /* Fundo de componentes */
  --color-border: #E5E7EB;     /* Cinza muito claro */
  --color-text-main: #1F2937;  /* Cinza escuro */
  --color-text-secondary: #6B7280; /* Cinza médio */

  /* Para efeito glass (se desejar usar) */
  --glass-bg: rgba(255, 255, 255, 0.6);
}

/* ===================== */
/* RESETS BÁSICOS */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================== */
/* ESTILO GERAL DO BODY */
/* ===================== */
body {
  font-family: var(--font-base);
  background: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.7; /* Levemente maior para melhor legibilidade */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===================== */
/* CONTAINER PRINCIPAL */
/* ===================== */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem; /* Aumentando o padding superior/inferior para mais “respiro” */
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Espaçamento vertical entre seções */
}

/* ===================== */
/* CABEÇALHO (HEADER) */
/* ===================== */
header {
  display: flex; 
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Espaçamento entre elementos do header */
  background: var(--color-gradient); /* Aplicando o gradiente no header */
  padding: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo */
.logo-img {
  width: 80px;  
  height: auto;
  transition: transform 0.2s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Título e tagline */
.header-content .app-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff; /* Texto branco para contraste no gradiente */
  letter-spacing: 0.5px; /* Leve espaçamento para título */
}

.header-content .tagline {
  font-size: 1.05rem;
  color: #e0e7ff; /* Tom claro para contraste */
}

/* ===================== */
/* MAIN (CONTEÚDO PRINCIPAL) */
/* ===================== */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2rem; /* Espaço entre sessões dentro do main, se houver */
}

#cardSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ===================== */
/* CARD DE MOTIVAÇÃO */
/* ===================== */
.motivation-card {
  width: 100%;
  max-width: 600px;
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto;
}

.motivation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}

/* Efeito glass (opcional) */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none; /* Se preferir manter a sombra, remova este */
}

/* Títulos e textos do card */
.motivation-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #005f73;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.motivation-card p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===================== */
/* BOTÕES */
/* ===================== */
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Agrupamento de botões: simples, com espaçamento */
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Estilo base para os botões */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  /* Transição suave ao passar o mouse */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Botão principal (fundo azul, texto branco) */
.primary-btn {
  background-color: #3e84d3;
  color: #fff;
}

.primary-btn:hover {
  background-color: #1c60c7;
}

/* Botão secundário (borda e texto em azul, fundo branco) */
.secondary-btn {
  background-color: #fff;
  color: #1565C0;
  border: 2px solid #1565C0;
}

.secondary-btn:hover {
  background-color: #f8f8f8;
}

/* ===================== */
/* RODAPÉ */
/* ===================== */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  margin-top: auto; /* Mantém o footer fixo no fim da página caso pouco conteúdo */
}

/* ===================== */
/* MEDIA QUERIES */
/* ===================== */
@media (max-width: 480px) {
  /* Ajustes para telas muito pequenas */
  .container {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }

  .logo-img {
    width: 60px;
  }

  .header-content .app-title {
    font-size: 1.5rem;
    letter-spacing: 0.4px;
  }

  .header-content .tagline {
    font-size: 0.90rem;
    width: 80%;
    margin: 0 auto;
  }

  .motivation-card {
    padding: 1.5rem;
    border-radius: 12px;
    width: 90%;
  }

  .primary-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .secondary-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

