/* ==========================================================================
   MARANATA TELEMEDICINA — DESIGN SYSTEM (CSS MASTER)
   Domínio: life.maranatatelemedicina.com.br
   Identidade: Templo Digital & Cuidado Pastoral (Brandbook Homologado)
   ========================================================================== */

:root {
  --bg-warm: #FAF8F4;
  --charcoal: #1A1A2E;
  --charcoal-light: #2C2C44;
  --purple-sacro: #6B4EE6;
  --purple-deep: #4A32B8;
  --purple-subtle: #F0EDFD;
  --gold-liturgico: #D4AF37;
  --gold-soft: #F9F4E5;
  --olive-green: #5C6B4A;
  --olive-light: #EBF0E6;
  --cobalt-blue: #2A52BE;
  --gray-stone: #7D8597;
  --border-line: #E8E4DA;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 12px rgba(26, 26, 46, 0.05);
  --shadow-md: 0 12px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(74, 50, 184, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-biblical: 'Cardo', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.2;
}

p {
  color: #3D3D4E;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: var(--purple-deep);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-liturgico);
  position: relative;
  box-shadow: 0 4px 10px rgba(74, 50, 184, 0.2);
}

.logo-symbol svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--charcoal);
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-deep);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--purple-sacro);
}

.btn-header {
  background: var(--purple-deep);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-header:hover {
  background: var(--purple-sacro);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   BOTÕES & AÇÕES
   -------------------------------------------------------------------------- */
.btn-primary {
  background: var(--purple-deep);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(74, 50, 184, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--purple-sacro);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(74, 50, 184, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border-line);
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--purple-deep);
  color: var(--purple-deep);
  background: var(--bg-warm);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-subtle);
  border: 1px solid rgba(107, 78, 230, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-deep);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 78, 230, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--purple-deep);
}

/* --------------------------------------------------------------------------
   SEÇÃO MANIFESTO SOLENE
   -------------------------------------------------------------------------- */
.section-manifesto {
  padding: 70px 0;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
}

.manifesto-verse {
  font-family: var(--font-biblical);
  font-style: italic;
  font-size: 26px;
  line-height: 1.5;
  color: #E2DFD2;
  max-width: 820px;
  margin: 0 auto 20px;
}

.manifesto-ref {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-liturgico);
  margin-bottom: 28px;
}

.manifesto-text {
  font-size: 16px;
  line-height: 1.8;
  color: #B5B5C8;
  max-width: 720px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   TABELAS DE PREÇO
   -------------------------------------------------------------------------- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.pricing-card.featured {
  border: 2px solid var(--purple-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-deep);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--charcoal);
  font-family: var(--font-sans);
}

.price-period {
  font-size: 13px;
  color: var(--gray-stone);
}

.pricing-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 13px;
  color: #444455;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--olive-green);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--charcoal);
  user-select: none;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.25s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: #555568;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
  max-height: 400px;
}

/* --------------------------------------------------------------------------
   FORMULÁRIOS
   -------------------------------------------------------------------------- */
.form-box {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444455;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-warm);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--purple-deep);
  background: var(--white);
}

.btn-submit {
  width: 100%;
  background: var(--purple-deep);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--purple-sacro);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 50, 184, 0.4);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #121220;
  color: #9A9AB0;
  padding: 60px 0 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--gold-liturgico);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: #6C6C80;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .grid-2, .grid-4, .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .nav-menu {
    display: none;
  }
  .form-box {
    padding: 24px;
  }
}
