/* ===============================================
   GRUPO DE FOLCLORE DA ILHA DA MADEIRA
   CSS Principal - Design Folclórico Moderno
   =============================================== */

:root {
  --madeira-red: #8B0000;
  --madeira-red-light: #c0392b;
  --madeira-dark: #1a1a1a;
  --madeira-green: #2E8B57;
  --madeira-green-light: #3aa16b;
  --madeira-gold: #DAA520;
  --madeira-gold-light: #f0c040;
  --madeira-cream: #fdf8f0;
  --madeira-brown: #6b4226;
  --text-dark: #1a1a2e;
  --text-light: #555;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-stripes {
  display: flex;
  height: 8px;
  overflow: hidden;
}

.navbar-stripes .stripe {
  flex: 1;
}

.navbar-main {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--madeira-red), var(--madeira-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

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

.brand-name {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-sub {
  color: var(--madeira-gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--madeira-gold);
  background: rgba(218,165,32,0.12);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--madeira-gold);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, var(--madeira-dark), var(--madeira-red));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-top: 74px;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(139,0,0,0.4) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.page-header-content h1 {
  color: white;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-header-content p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-top: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0505 50%, #0a1a0a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 74px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 20px,
      rgba(139,0,0,0.05) 20px,
      rgba(139,0,0,0.05) 40px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 20px,
      rgba(46,139,87,0.04) 20px,
      rgba(46,139,87,0.04) 40px
    );
}

.hero-stripes-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  display: flex;
}

.hero-stripes-bottom .stripe {
  flex: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(218,165,32,0.15);
  border: 1px solid rgba(218,165,32,0.4);
  color: var(--madeira-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--madeira-gold);
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--madeira-red);
  color: white;
  border-color: var(--madeira-red);
}

.btn-primary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,0,0,0.4);
}

.btn-gold {
  background: var(--madeira-gold);
  color: var(--madeira-dark);
  border-color: var(--madeira-gold);
}

.btn-gold:hover {
  background: var(--madeira-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(218,165,32,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  min-width: 130px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--madeira-gold);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--madeira-cream);
}

.section-dark {
  background: var(--madeira-dark);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: rgba(139,0,0,0.1);
  color: var(--madeira-red);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(139,0,0,0.2);
}

.section-dark .section-tag {
  background: rgba(218,165,32,0.15);
  color: var(--madeira-gold);
  border-color: rgba(218,165,32,0.3);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--madeira-red), var(--madeira-gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 220px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 24px;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--madeira-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--madeira-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
  color: #a00000;
}

/* ===== PERFORMANCE CARDS ===== */
.performances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.performance-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.performance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.performance-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.performance-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.performance-card:hover .performance-img img {
  transform: scale(1.05);
}

.performance-date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--madeira-red);
  color: white;
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}

.performance-date-badge .day {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.performance-date-badge .month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.performance-body {
  padding: 24px;
  flex: 1;
}

.performance-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.performance-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.performance-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.performance-meta i {
  color: var(--madeira-green);
  width: 16px;
}

.performance-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== MEMBER CARDS ===== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

.member-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.member-photo {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.member-card:hover .member-photo img {
  transform: scale(1.05);
}

.member-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.8), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.member-card:hover .member-photo-overlay {
  opacity: 1;
}

.member-bio-preview {
  color: white;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.member-body {
  padding: 20px;
}

.member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.member-role {
  display: inline-block;
  background: rgba(139,0,0,0.1);
  color: var(--madeira-red);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FESTIVAL CARDS ===== */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.festival-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.festival-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.festival-poster {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.festival-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.festival-card:hover .festival-poster img {
  transform: scale(1.05);
}

.festival-year-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--madeira-gold);
  color: var(--madeira-dark);
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
  font-family: 'Playfair Display', serif;
}

.festival-body {
  padding: 28px;
}

.festival-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.festival-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.festival-info span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.festival-info i {
  color: var(--madeira-red);
  width: 16px;
}

.festival-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid rgba(139,0,0,0.2);
  background: white;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--madeira-red);
  color: white;
  border-color: var(--madeira-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay-content span {
  color: var(--madeira-gold);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--madeira-red), var(--madeira-red-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.contact-info-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--madeira-red);
  background: white;
  box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

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

/* ===== HISTORY PAGE ===== */
.history-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 17px;
  color: var(--text-light);
}

.history-content p {
  margin-bottom: 24px;
}

.history-content h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin: 40px 0 16px;
}

.history-highlight {
  border-left: 4px solid var(--madeira-red);
  background: rgba(139,0,0,0.04);
  padding: 24px 28px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 19px;
  color: var(--madeira-red);
  font-family: 'Playfair Display', serif;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--madeira-red), var(--madeira-gold));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-year {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-year span {
  background: var(--madeira-red);
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 0;
}

.footer-stripes {
  display: flex;
  height: 8px;
}

.footer-stripes .stripe {
  flex: 1;
}

.footer-content {
  background: var(--madeira-dark);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--madeira-red), var(--madeira-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: white;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: var(--madeira-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--madeira-gold);
  padding-left: 6px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact i {
  color: var(--madeira-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.youtube { background: #ff0000; }
.social-link:hover { transform: translateY(-3px); opacity: 0.9; }

.footer-newsletter {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== ADMIN ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  font-family: 'Lato', sans-serif;
}

.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--madeira-dark);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, #0d0d0d, #1a0505);
}

.admin-sidebar-header .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--madeira-red), var(--madeira-gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
}

.admin-sidebar-header h2 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.admin-sidebar-header p {
  font-size: 11px;
  color: var(--madeira-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.admin-nav {
  padding: 16px 0;
  flex: 1;
}

.admin-nav-section {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,0.07);
  color: var(--madeira-gold);
  border-left-color: var(--madeira-gold);
}

.admin-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.admin-nav-link.danger {
  color: rgba(231,76,60,0.8);
}

.admin-nav-link.danger:hover {
  color: #e74c3c;
  background: rgba(231,76,60,0.1);
  border-left-color: #e74c3c;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  background: #f0f2f5;
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  padding: 16px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-topbar h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-content {
  padding: 30px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}

.admin-stat-icon.red { background: linear-gradient(135deg, var(--madeira-red), var(--madeira-red-light)); }
.admin-stat-icon.green { background: linear-gradient(135deg, var(--madeira-green), var(--madeira-green-light)); }
.admin-stat-icon.gold { background: linear-gradient(135deg, var(--madeira-gold), var(--madeira-gold-light)); }
.admin-stat-icon.dark { background: linear-gradient(135deg, #2c3e50, #3d5a74); }
.admin-stat-icon.purple { background: linear-gradient(135deg, #7b2d8b, #9b3dc0); }
.admin-stat-icon.teal { background: linear-gradient(135deg, #00796b, #00a896); }

.admin-stat-info h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.admin-stat-info p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.admin-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-card-body {
  padding: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  border-bottom: 2px solid #f1f1f1;
  background: #fafafa;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #fafcff;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-badge.red { background: rgba(139,0,0,0.1); color: var(--madeira-red); }
.admin-badge.green { background: rgba(46,139,87,0.1); color: var(--madeira-green); }
.admin-badge.gold { background: rgba(218,165,32,0.1); color: #b8860b; }
.admin-badge.blue { background: rgba(52,152,219,0.1); color: #2980b9; }
.admin-badge.gray { background: #f1f1f1; color: #666; }

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.admin-btn-primary {
  background: var(--madeira-red);
  color: white;
}

.admin-btn-primary:hover {
  background: #a00000;
}

.admin-btn-secondary {
  background: #f1f3f5;
  color: var(--text-dark);
}

.admin-btn-secondary:hover {
  background: #e2e6ea;
}

.admin-btn-danger {
  background: rgba(231,76,60,0.1);
  color: #e74c3c;
}

.admin-btn-danger:hover {
  background: #e74c3c;
  color: white;
}

.admin-btn-success {
  background: rgba(46,139,87,0.1);
  color: var(--madeira-green);
}

.admin-btn-success:hover {
  background: var(--madeira-green);
  color: white;
}

.admin-btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
}

.admin-form-control:focus {
  border-color: var(--madeira-red);
  background: white;
  box-shadow: 0 0 0 3px rgba(139,0,0,0.08);
}

textarea.admin-form-control {
  min-height: 120px;
  resize: vertical;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(46,139,87,0.1);
  color: var(--madeira-green);
  border: 1px solid rgba(46,139,87,0.2);
}

.alert-error {
  background: rgba(231,76,60,0.1);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.2);
}

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--madeira-dark), #1a0505);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Lato', sans-serif;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--madeira-red), var(--madeira-gold));
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 16px;
}

.login-logo h1 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.login-logo p {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== DECORATIVE ELEMENTS ===== */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,0,0,0.2), transparent);
}

.ornament-icon {
  color: var(--madeira-red);
  font-size: 18px;
  opacity: 0.5;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--madeira-gold);
}

.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== VIEW ALL BUTTON ===== */
.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  font-size: 20px;
  color: #999;
  margin-bottom: 8px;
}

/* ===== NOTIFICATION DOT ===== */
.notif-dot {
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--madeira-red);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(139,0,0,0.3);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #a00000;
  transform: translateY(-3px);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .festivals-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  .navbar-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-link { width: 100%; text-align: center; padding: 12px; }
  
  .nav-toggle { display: flex; }
  
  .hero { min-height: 100svh; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  
  .page-header-content h1 { font-size: 32px; }
  
  .news-grid, .performances-grid, .members-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-form-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; }
  .timeline-year { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== FESTIVAL FULL CARD (página de festivais) ===== */
.festivals-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.festival-full-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 380px 1fr;
  transition: var(--transition);
}

.festival-full-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.festival-full-poster {
  position: relative;
  overflow: hidden;
}

.festival-full-poster img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: var(--transition);
}

.festival-full-card:hover .festival-full-poster img {
  transform: scale(1.04);
}

.festival-full-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}

.festival-full-body .festival-name {
  font-size: 26px;
  margin-bottom: 16px;
}

/* ===== RICH CONTENT (conteúdo formatado pelo editor) ===== */
.rich-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light);
}

.rich-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 20px 0 10px;
}

.rich-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 18px 0 8px;
}

.rich-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--madeira-red);
  margin: 16px 0 6px;
}

.rich-content p {
  margin-bottom: 14px;
}

.rich-content p:last-child {
  margin-bottom: 0;
}

.rich-content strong { font-weight: 700; color: var(--text-dark); }
.rich-content em     { font-style: italic; }
.rich-content u      { text-decoration: underline; }
.rich-content s      { text-decoration: line-through; }

.rich-content ul,
.rich-content ol {
  padding-left: 22px;
  margin: 10px 0 14px;
}

.rich-content li {
  margin-bottom: 5px;
}

.rich-content a {
  color: var(--madeira-red);
  text-decoration: underline;
}

.rich-content a:hover {
  color: #a00000;
}

.rich-content blockquote {
  border-left: 4px solid var(--madeira-red);
  background: rgba(139,0,0,0.04);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 16px;
  color: var(--madeira-red);
  font-family: 'Playfair Display', serif;
}

.rich-content hr {
  border: none;
  border-top: 2px solid #e9ecef;
  margin: 22px 0;
}

.rich-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0;
}

/* Truncate para cards de preview (home page) */
.festival-desc.rich-content {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .festival-full-card {
    grid-template-columns: 1fr;
  }
  .festival-full-poster img {
    min-height: 240px;
    height: 240px;
  }
  .festival-full-body {
    padding: 24px;
  }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-red { color: var(--madeira-red); }
.text-gold { color: var(--madeira-gold); }
.text-green { color: var(--madeira-green); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  margin-right: 6px;
}
