﻿/* ==========================================================================
   SITE OFICIAL DA IGREJA DO EVANGELHO (IDE)
   Paleta Elegante Monocromática / Charcoal Oficial:
   #000000 | #201D1E | #39383C | #403D3D | #504E4E | #5D5D5D
   ========================================================================== */

:root {
  --brand-black: #000000;
  --brand-jet: #201D1E;
  --brand-charcoal: #39383C;
  --brand-slate-dark: #403D3D;
  --brand-slate: #504E4E;
  --brand-slate-light: #5D5D5D;

  --brand-primary: #201D1E;
  --brand-primary-hover: #000000;
  --brand-primary-light: #f3f4f6;
  --brand-secondary: #39383C;
  --brand-secondary-hover: #201D1E;
  --brand-accent: #504E4E;
  --brand-success: #10b981;
  --brand-danger: #ef4444;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #000000;
  --bg-dark-card: #201D1E;
  --bg-dark-subtle: #39383C;

  --text-dark: #000000;
  --text-muted: #504E4E;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --border-color: #e5e7eb;
  --border-dark: #39383C;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 25px rgba(57, 56, 60, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar-custom {
  background: rgba(32, 29, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-link-custom {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-minhaide {
  background: linear-gradient(135deg, #39383C 0%, #201D1E 100%);
  border: 1px solid #504E4E;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.btn-minhaide:hover {
  background: #000000;
  border-color: #5D5D5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* HERO SECTION */
.hero-gradient {
  background: linear-gradient(135deg, #000000 0%, #201D1E 50%, #39383C 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(93, 93, 93, 0.2) 0%, rgba(32, 29, 30, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

/* CARDS */
.card-ide {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-ide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #39383C;
}

.card-dark {
  background: var(--bg-dark-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  transition: var(--transition);
}

.card-dark:hover {
  border-color: #5D5D5D;
  transform: translateY(-4px);
}

/* QUICK ACTION RIBBON */
.action-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  display: block;
}

.action-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #201D1E;
}

.action-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* BUTTONS */
.btn-primary-ide {
  background-color: #201D1E;
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1px solid #39383C;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-ide:hover {
  background-color: #000000;
  border-color: #5D5D5D;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* BADGES */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: rgba(32, 29, 30, 0.1);
  color: #201D1E;
  border: 1px solid rgba(57, 56, 60, 0.2);
}

.badge-secondary {
  background: rgba(57, 56, 60, 0.15);
  color: #39383C;
}

.badge-accent {
  background: rgba(80, 78, 78, 0.15);
  color: #504E4E;
}

/* SECTION TITLES */
.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
}

.section-subtitle {
  color: #504E4E;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* TOAST */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast-msg {
  background: #201D1E;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border-left: 4px solid #5D5D5D;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
