/* ==========================================================================
   ACOLHIMENTO & ORAÇÃO - GLOBAL STYLES & RESET
   ========================================================================== */

/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

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

/* Section Header Styling */
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.section-title span, .section-title strong {
  color: var(--primary-green);
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(45, 75, 39, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 75, 39, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* Motivational Quote Banner */
.quote-banner {
  background-color: var(--bg-beige);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 1.5rem;
  text-align: center;
}

.quote-banner blockquote {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-green);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 3px;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(45, 75, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45, 75, 39, 0.4);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================
   LGPD COOKIE CONSENT BANNER
   ========================================== */
.lgpd-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 3rem);
  max-width: 900px;
  background-color: rgba(26, 43, 22, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.lgpd-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.lgpd-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.lgpd-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.lgpd-text a {
  color: #88C057;
  text-decoration: underline;
  font-weight: 600;
}

.lgpd-text a:hover {
  color: #ffffff;
}

.lgpd-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lgpd-btn-accept {
  padding: 0.65rem 1.35rem;
  background-color: var(--primary-green, #25D366);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full, 50px);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.lgpd-btn-accept:hover {
  background-color: #1eb957;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .lgpd-banner {
    bottom: 1rem;
    width: calc(100% - 2rem);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .lgpd-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .lgpd-btn-accept {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   LEGAL PAGES (PRIVACIDADE, TERMOS, LGPD)
   ========================================== */
.legal-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--blue-dark) 100%);
  color: #ffffff;
  padding: calc(var(--header-height) + 2.5rem) 1.5rem 3.5rem;
  text-align: center;
}

.legal-hero-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.legal-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

.legal-body {
  background-color: var(--bg-white);
  padding: 4rem 1.5rem 6rem;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
  .legal-container {
    padding: 1.5rem;
  }
}

.legal-update-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section-block {
  margin-bottom: 2.25rem;
}

.legal-section-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.85rem;
}

.legal-text-p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.legal-ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}

.legal-ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}
