/* ============================================================================
   MATERIAL EDUCATIVO DE AUTORREFLEXÃO EMOCIONAL - ESTILOS
   Design Premium com Paleta Verde Profissional
   ========================================================================== */

/* ============================================================================
   IMPORTAÇÕES E VARIÁVEIS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1f6b4a;
  --primary-light: #2d8659;
  --primary-lighter: #3ba068;
  --secondary: #ffffff;
  --background: #fafbf9;
  --foreground: #1a1a1a;
  --muted: #6b7b73;
  --muted-light: #e8ebe9;
  --border: #e0e4e2;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease-out;
}

/* ============================================================================
   RESET E BASE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================================================
   TIPOGRAFIA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ============================================================================
   COMPONENTES GERAIS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(31, 107, 74, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-secondary:active {
  transform: scale(0.95);
}

/* Cards */
.card {
  background-color: var(--secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Texto gradiente */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   NAVEGAÇÃO
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 1rem 0;
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  text-decoration: none;
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: 700;
}

.nav-logo-text {
  display: none;
}

@media (min-width: 640px) {
  .nav-logo-text {
    display: inline;
  }
}

/* ============================================================================
   SEÇÕES
   ========================================================================== */

section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 8rem 0;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background) 0%, rgba(31, 107, 74, 0.05) 100%);
  padding-top: 8rem;
  text-align: center;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

/* Context Section */
.context-header {
  text-align: center;
  margin-bottom: 3rem;
}

.context-header h2 {
  margin-bottom: 1rem;
}

.context-header p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.context-grid {
  margin-bottom: 2rem;
}

.context-message {
  background-color: rgba(31, 107, 74, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

.context-message p {
  margin-bottom: 0.5rem;
}

.context-quote {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
}

.context-cta {
  text-align: center;
}

/* About Section */
.about {
  background-color: var(--secondary);
}

.about-content {
  max-width: 56rem;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-header h2 {
  margin-bottom: 1rem;
}

.about-text {
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.about-list li {
  margin-bottom: 0.75rem;
  color: var(--muted);
  position: relative;
  padding-left: 1.5rem;
}

.about-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.about-footer {
  background-color: rgba(31, 107, 74, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* Features Section */
.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-label {
  display: block;
  margin-bottom: 0.5rem;
}

.features-header h2 {
  margin-bottom: 1rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-card p {
  font-size: 0.95rem;
}

/* Why Section */
.why {
  background-color: var(--secondary);
}

.why-header {
  text-align: center;
  margin-bottom: 2rem;
}

.why-header h2 {
  margin-bottom: 1rem;
}

.why-header p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.why-grid {
  max-width: 56rem;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-check {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(31, 107, 74, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.why-text {
  flex: 1;
  color: var(--muted);
  font-size: 1rem;
}

/* Audience Section */
.audience-header {
  text-align: center;
  margin-bottom: 3rem;
}

.audience-label {
  display: block;
  margin-bottom: 0.5rem;
}

.audience-header h2 {
  margin-bottom: 1rem;
}

.audience-card {
  text-align: center;
}

.audience-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-size: 1.125rem;
}

.audience-card p {
  font-size: 0.875rem;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--secondary);
  text-align: center;
}

.final-cta h2 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.final-cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.final-cta-button {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.final-cta-button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.final-cta-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
  .final-cta-badges {
    flex-direction: row;
  }
}

.final-cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* Educational Notice */
.notice {
  background-color: rgba(31, 107, 74, 0.05);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.notice-content {
  display: flex;
  gap: 1rem;
}

.notice-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(31, 107, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.notice-text h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
}

.notice-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Footer */
footer {
  background-color: var(--foreground);
  color: var(--background);
  text-align: center;
  padding: 2rem 0;
}

footer p {
  color: rgba(250, 251, 249, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* ============================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 640px) {
  .hero {
    padding-top: 6rem;
  }

  .card {
    padding: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .why-grid {
    max-width: 100%;
  }

  .final-cta-badges {
    flex-direction: column;
  }
}

/* ============================================================================
   ANIMAÇÕES
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================================================
   ACESSIBILIDADE
   ========================================================================== */

a:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================================================
   IMPRESSÃO
   ========================================================================== */

@media print {
  nav,
  .scroll-indicator {
    display: none;
  }
}
