/* ====== CSS Principal do ExpoLive ====== */
/* Importação de Fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* Variáveis CSS para cores e tamanhos */
:root {
  /* Cores principais */
  --primary-color: #3d5af1;
  --primary-dark: #2a3eb1;
  --primary-light: #8e9df3;
  --secondary-color: #ff4c29;
  --secondary-dark: #e63e16;
  --secondary-light: #ff8066;
  
  /* Cores neutras */
  --dark: #1f2937;
  --gray-dark: #4b5563;
  --gray-medium: #9ca3af;
  --gray-light: #e5e7eb;
  --light: #f9fafb;
  
  /* Cores para feedback */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Espaçamentos */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Tamanhos de fonte */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Border radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset CSS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header e Navegação */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  margin-right: var(--space-sm);
}

.site-logo h1 {
  font-size: var(--text-xl);
  margin: 0;
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: var(--space-lg);
}

.main-nav a {
  font-weight: 600;
  color: var(--dark);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  margin-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: var(--space-xl);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-lg);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--gray-dark);
  margin-bottom: var(--space-md);
}

.card-meta {
  display: flex;
  align-items: center;
  color: var(--gray-medium);
  font-size: var(--text-sm);
}

.card-meta i {
  margin-right: var(--space-xs);
}

.card-meta span {
  margin-right: var(--space-md);
}

/* Seções */
.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Grid layout */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Featured items */
.featured-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-item:hover .featured-img {
  transform: scale(1.05);
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white;
}

.featured-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

/* Search bar */
.search-container {
  position: relative;
  margin-bottom: var(--space-xl);
}

.search-bar {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-right: 50px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.search-bar:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(61, 90, 241, 0.2);
}

.search-btn {
  position: absolute;
  top: 50%;
  right: var(--space-md);
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: var(--text-lg);
  cursor: pointer;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background-color: #f5f7ff;
  border-radius: var(--radius-md);
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-full);
  background-color: white;
  color: var(--gray-dark);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Video Grid */
.video-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: var(--gray-light);
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-play {
  opacity: 1;
}

.video-duration {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
}

.video-info {
  padding: var(--space-md);
}

.video-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

/* News & Blog Lists */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.post-item {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.post-item:hover {
  transform: translateY(-5px);
}

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.post-excerpt {
  color: var(--gray-dark);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-medium);
  font-size: var(--text-sm);
}

.post-date {
  display: flex;
  align-items: center;
}

.post-date i {
  margin-right: var(--space-xs);
}

.post-likes {
  display: flex;
  align-items: center;
}

.post-likes i {
  margin-right: var(--space-xs);
  color: var(--secondary-color);
}

/* Single Post */
.single-post {
  padding: var(--space-2xl) 0;
}

.post-header {
  margin-bottom: var(--space-xl);
}

.single-post-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.post-author {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: var(--space-md);
}

.author-info {
  font-size: var(--text-sm);
}

.author-name {
  font-weight: 600;
  color: var(--dark);
}

.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.post-content {
  font-size: var(--text-lg);
  line-height: 1.8;
}

.post-content p {
  margin-bottom: var(--space-lg);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.post-footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-light);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.post-tag {
  padding: var(--space-xs) var(--space-md);
  background-color: var(--gray-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--gray-dark);
}

/* Schedule Table */
.schedule-container {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  background-color: var(--primary-color);
  color: white;
  text-align: left;
  padding: var(--space-md);
}

.schedule-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-light);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover {
  background-color: #f5f7ff;
}

.schedule-title {
  font-weight: 600;
  color: var(--dark);
}

.schedule-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 600;
}

.type-podcast {
  background-color: rgba(61, 90, 241, 0.1);
  color: var(--primary-color);
}

.type-interview {
  background-color: rgba(255, 76, 41, 0.1);
  color: var(--secondary-color);
}

.type-other {
  background-color: rgba(75, 85, 99, 0.1);
  color: var(--gray-dark);
}

.available-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 600;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.unavailable-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 600;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

/* Forms */
.form-container {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.form-title {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(61, 90, 241, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 16px;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.form-check-input {
  margin-right: var(--space-sm);
}

.form-submit {
  display: block;
  width: 100%;
  padding: var(--space-md);
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Stands Grid */
.stands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.stand-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.stand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stand-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.stand-info {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.stand-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.stand-code {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.stand-description {
  color: var(--gray-dark);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.stand-link {
  display: block;
  padding: var(--space-sm);
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.stand-link:hover {
  background-color: var(--primary-dark);
  text-decoration: none;
  color: white;
}

/* Single Stand */
.stand-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.stand-video-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stand-video-info {
  padding: var(--space-md);
}

.stand-video-year {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.stand-video-description {
  font-size: var(--text-sm);
  color: var(--gray-dark);
}

.ratings-container {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.rating-stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.star-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-medium);
  cursor: pointer;
}

.star-btn.active {
  color: #ffc107;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: var(--space-2xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer-col h3 {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  height: 36px;
  margin-right: var(--space-sm);
}

.footer-logo h2 {
  font-size: var(--text-xl);
  margin: 0;
  color: white;
}

.footer-about p {
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-medium);
  transition: color 0.3s ease;
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

.footer-contact i {
  width: 20px;
  margin-right: var(--space-sm);
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

.footer-nav {
  display: flex;
  gap: var(--space-lg);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--gray-medium);
}

/* Google Map */
.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.pagination-list {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.pagination-item a,
.pagination-item button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: white;
  color: var(--dark);
  font-weight: 600;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

.pagination-item a:hover,
.pagination-item button:hover {
  background-color: var(--gray-light);
  text-decoration: none;
}

.pagination-item.active a {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.breadcrumbs a {
  color: var(--gray-dark);
}

.breadcrumbs span {
  margin: 0 var(--space-xs);
  color: var(--gray-medium);
}

.breadcrumbs .current {
  color: var(--primary-color);
  font-weight: 600;
}

/* Alert messages */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-left: 4px solid var(--success);
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border-left: 4px solid var(--warning);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border-left: 4px solid var(--error);
}

.alert-info {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--info);
  border-left: 4px solid var(--info);
}

/* Media Queries */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  
  .main-nav.open {
    height: calc(100vh - 70px);
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: var(--space-lg);
  }
  
  .main-nav li {
    margin: 0;
    margin-bottom: var(--space-md);
  }
  
  .hero h1 {
    font-size: var(--text-4xl);
  }
  
  .hero p {
    font-size: var(--text-lg);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .post-list {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 576px) {
  .hero {
    height: 80vh;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .section-title h2 {
    font-size: var(--text-2xl);
  }
  
  .post-item {
    margin-bottom: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

/* Estilo para o botão de voltar ao topo */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color); /* Azul da sua variável principal */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
  transform: translateY(20px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Efeito hover */
.scroll-top-btn:hover {
  background-color: var(--primary-dark); /* Azul escuro ao passar o mouse */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

/* Efeito de pulsar para chamar atenção */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.scroll-top-btn:not(:hover).visible {
  animation: pulse 2s infinite;
}

/* Adaptação para dispositivos móveis */
@media (max-width: 768px) {
  .scroll-top-btn {
      width: 40px;
      height: 40px;
      font-size: 16px;
      bottom: 20px;
      right: 20px;
  }
}