/* ============================================================
   NOVO DESIGN FOLIC IPTV 2026 - LAYOUT MODERNO E ELEGANTE
   ============================================================ */

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #0f3460;
  --highlight-color: #e94560;
  --light-text: #eaeaea;
  --dark-text: #1a1a2e;
  --border-color: #2a2a4e;
  --success-color: #00d084;
  --warning-color: #ffa502;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--light-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================================
   HEADER E NAVEGAÇÃO
   ============================================================ */

header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--highlight-color);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 2rem;
}

nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--highlight-color);
}

.btn-primary {
  background: linear-gradient(135deg, var(--highlight-color), #ff6b7a);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--highlight-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 52, 96, 0.5) 0%, rgba(26, 26, 46, 0) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--highlight-color), #ff6b7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #b0b0d0;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  background: rgba(15, 52, 96, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(15, 52, 96, 0.5);
  border-color: var(--highlight-color);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--highlight-color);
}

.stat-label {
  color: #b0b0d0;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  padding: 4rem 0;
}

/* ============================================================
   ARTIGOS E CARDS
   ============================================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.article-card {
  background: linear-gradient(135deg, rgba(15, 52, 96, 0.3), rgba(22, 33, 62, 0.3));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--highlight-color);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.2);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  display: inline-block;
  background: rgba(233, 69, 96, 0.2);
  color: var(--highlight-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--light-text);
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--highlight-color);
}

.article-excerpt {
  color: #b0b0d0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8a8aaa;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.read-more {
  color: var(--highlight-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 0.5rem;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-header {
  background: linear-gradient(180deg, rgba(15, 52, 96, 0.5) 0%, rgba(26, 26, 46, 0) 100%);
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--light-text);
  max-width: 900px;
}

.article-meta-info {
  display: flex;
  gap: 2rem;
  color: #b0b0d0;
  font-size: 0.95rem;
}

.article-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(15, 52, 96, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 2rem 0 1rem 0;
  color: var(--highlight-color);
  border-left: 4px solid var(--highlight-color);
  padding-left: 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--light-text);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: #d0d0e8;
}

.article-body ul,
.article-body ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
  color: #d0d0e8;
}

.article-body strong {
  color: var(--highlight-color);
}

.highlight-box {
  background: rgba(233, 69, 96, 0.1);
  border-left: 4px solid var(--highlight-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.highlight-box p {
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: rgba(22, 33, 62, 0.95);
  border-top: 2px solid var(--border-color);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #b0b0d0;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-section a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: #8a8aaa;
  font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding: 1rem;
  }

  .article-meta-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .article-body {
    padding: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}

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

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s infinite;
}
