/* ============================================================
   ATELIÊ CÉLIA NUNES — Main Stylesheet
   ============================================================ */

/* CSS Variables */
:root {
  --primary: #D4607A;
  --primary-light: #F0A0B4;
  --primary-dark: #B0405A;
  --accent: #F4B89E;
  --bg: #FFF8F5;
  --bg-light: #FFF0F3;
  --dark: #3D2035;
  --medium: #7A4B65;
  --light-text: #B08A9A;
  --white: #FFFFFF;
  --footer-bg: #3D2035;
  --shadow: 0 4px 24px rgba(61,32,53,0.10);
  --shadow-hover: 0 8px 40px rgba(61,32,53,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--dark); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: 'Poppins', sans-serif; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark); margin-bottom: 1rem;
}
.section-subtitle { color: var(--medium); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 2.5rem; }
.section-divider { border: none; border-top: 2px dashed var(--primary-light); margin: 3.5rem 0; opacity: 0.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 50px;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary); color: var(--white); border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(212,96,122,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,96,122,0.45);
}
.btn-outline-primary {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: var(--white); transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-hero { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2.5rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: var(--white); border-color: transparent; box-shadow: 0 4px 16px rgba(188,24,136,0.3);
}
.btn-instagram:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(188,24,136,0.4); }
.btn-whatsapp-large {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.75rem; background: #25D366; color: var(--white);
  border-radius: 50px; font-weight: 600; font-size: 1rem; margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: var(--transition);
}
.btn-whatsapp-large i { font-size: 1.4rem; }
.btn-whatsapp-large:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled,
.navbar--inner {
  background: rgba(255,248,245,0.97);
  box-shadow: 0 2px 24px rgba(61,32,53,0.10);
  backdrop-filter: blur(10px);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700;
  color: var(--white); transition: color 0.4s;
}
.logo-accent { color: var(--accent); }
.navbar.scrolled .logo-name, .navbar--inner .logo-name { color: var(--dark); }
.navbar.scrolled .logo-accent, .navbar--inner .logo-accent { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 0.9rem; font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.9); border-radius: 8px;
  transition: var(--transition); position: relative;
}
.navbar.scrolled .nav-link, .navbar--inner .nav-link { color: var(--medium); }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(212,96,122,0.85); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active,
.navbar--inner .nav-link:hover, .navbar--inner .nav-link.active { color: var(--white); background: var(--primary); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 0.4rem;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: var(--transition); display: block;
}
.navbar.scrolled .nav-toggle span, .navbar--inner .nav-toggle span { background: var(--dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: var(--nav-height) 1.5rem 3rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-gradient {
  background: linear-gradient(135deg, #3D2035 0%, #7A4B65 40%, #D4607A 75%, #F4B89E 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(61,32,53,0.7) 0%, rgba(212,96,122,0.45) 60%, rgba(244,184,158,0.2) 100%);
}
.hero-decoration {
  position: absolute; pointer-events: none; animation: floatAnim 6s ease-in-out infinite;
}
.hero-dec-1 { top: 15%; right: 8%; animation-delay: 0s; }
.hero-dec-2 { bottom: 20%; left: 5%; animation-delay: 2s; }
.hero-dec-3 { top: 30%; left: 12%; animation-delay: 4s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); color: var(--white);
  padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(5px);
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem); color: var(--white);
  line-height: 1.1; margin-bottom: 1.25rem; font-weight: 700;
}
.hero-title-accent { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem); color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem; font-weight: 300; letter-spacing: 0.02em;
  font-style: italic;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); text-align: center; font-size: 0.8rem;
  animation: pulse 2s ease-in-out infinite;
}
.scroll-arrow { font-size: 1.2rem; margin-top: 0.3rem; }
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); } 50% { opacity: 1; transform: translateX(-50%) translateY(6px); } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-description { color: var(--medium); font-size: 1.05rem; margin-bottom: 1.75rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.75rem; border-radius: var(--radius-sm);
  background: var(--bg); transition: var(--transition);
}
.about-feature:hover { background: var(--bg-light); transform: translateX(4px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; flex-shrink: 0;
}
.about-feature strong { font-size: 0.9rem; color: var(--dark); display: block; }
.about-feature p { font-size: 0.82rem; color: var(--medium); margin: 0; }

.about-visual { position: relative; }
.about-visual-inner { position: relative; padding: 1.5rem; }
.about-visual-card { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; overflow: hidden; box-shadow: var(--shadow-hover); }
.about-card-1 { width: 100%; aspect-ratio: 1; }
.about-stat-badge {
  position: absolute; background: var(--white); border-radius: var(--radius);
  padding: 0.75rem 1.25rem; box-shadow: var(--shadow-hover);
  display: flex; align-items: center; gap: 0.5rem;
}
.badge-top { top: 0; right: 0; }
.badge-bottom { bottom: 0; left: 0; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.78rem; color: var(--medium); font-weight: 500; }

/* ============================================================
   GALLERY SECTION (INDEX SWIPER)
   ============================================================ */
.gallery-section { background: var(--bg-light); }
.gallery-swiper { padding: 1rem 0 3rem; }
.gallery-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1; }
.gallery-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-card:hover .gallery-card-img-wrap img { transform: scale(1.08); }
.gallery-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,32,53,0.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1.25rem;
  opacity: 0; transition: var(--transition);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-info h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.3rem; }
.gallery-card-info p { color: rgba(255,255,255,0.8); font-size: 0.8rem; margin-bottom: 0.5rem; }
.gallery-card-category {
  background: var(--primary); color: var(--white);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem; border-radius: 50px;
}
/* Swiper customization */
.swiper-button-prev, .swiper-button-next {
  color: var(--primary) !important;
  background: var(--white); border-radius: 50%; width: 44px !important; height: 44px !important;
  box-shadow: var(--shadow);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px !important; font-weight: 700 !important; }
.swiper-pagination-bullet { background: var(--primary-light) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ============================================================
   EVENTS (INDEX PREVIEW)
   ============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.event-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-card-img { height: 180px; overflow: hidden; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-body { padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.event-date-badge {
  min-width: 52px; background: var(--primary); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.5rem; text-align: center;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.event-day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.event-title { font-size: 1rem; margin-bottom: 0.4rem; }
.event-location { font-size: 0.82rem; color: var(--medium); margin-bottom: 0.5rem; }
.event-location i, .event-location-tag i { margin-right: 0.3rem; color: var(--primary); }
.event-desc { font-size: 0.83rem; color: var(--light-text); }

/* ============================================================
   NEWS (INDEX PREVIEW)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card-link { display: block; color: inherit; }
.news-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.news-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img-wrap img { transform: scale(1.06); }
.news-card-placeholder { height: 100%; background: linear-gradient(135deg, var(--bg-light), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary-light); }
.news-card-date { position: absolute; bottom: 0.75rem; left: 0.75rem; background: rgba(61,32,53,0.8); color: var(--white); font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 50px; }
.news-card-body { padding: 1.25rem; }
.news-card-title { font-size: 1rem; margin-bottom: 0.6rem; color: var(--dark); line-height: 1.4; }
.news-card-excerpt { font-size: 0.83rem; color: var(--medium); margin-bottom: 0.75rem; }
.news-card-read-more { font-size: 0.83rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.4rem; }
.news-card-read-more i { transition: transform 0.3s; }
.news-card:hover .news-card-read-more i { transform: translateX(4px); }

/* ============================================================
   AGENDA STRIP
   ============================================================ */
.agenda-strip { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.agenda-strip-item {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.5rem;
  box-shadow: var(--shadow); transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.agenda-strip-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.agenda-strip-date { min-width: 48px; text-align: center; }
.ag-day { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.ag-month { display: block; font-size: 0.7rem; color: var(--medium); text-transform: uppercase; }
.agenda-strip-info h4 { font-size: 0.95rem; color: var(--dark); margin-bottom: 0.2rem; }
.ag-time, .ag-location { font-size: 0.78rem; color: var(--medium); }
.ag-time i, .ag-location i { color: var(--primary); margin-right: 0.3rem; }

/* Agenda type badges */
.agenda-type-badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.75rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.type-workshop { background: rgba(212,96,122,0.12); color: var(--primary); }
.type-feira { background: rgba(82,165,130,0.12); color: #2d8a62; }
.type-exposicao { background: rgba(100,120,210,0.12); color: #4055c0; }
.type-outro { background: rgba(122,75,101,0.12); color: var(--medium); }
.type-muted { opacity: 0.65; }

/* ============================================================
   INSTAGRAM CTA
   ============================================================ */
.instagram-cta-section {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  padding: 2.5rem 1.5rem;
}
.instagram-cta-inner {
  max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 2rem;
  color: var(--white); flex-wrap: wrap; justify-content: center; text-align: center;
}
.instagram-cta-icon { font-size: 3.5rem; opacity: 0.9; }
.instagram-cta-text h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.instagram-cta-text p { opacity: 0.9; font-size: 0.95rem; }
.instagram-handle { font-weight: 700; font-size: 1.1rem; display: block; margin-top: 0.3rem; }

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.contact-cta-text .section-title { font-size: 2.2rem; }
.contact-cta-text p { color: var(--medium); margin-top: 0.75rem; }
.contact-cta-cards { display: flex; flex-direction: column; gap: 1rem; }
.cta-contact-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.5rem;
  box-shadow: var(--shadow); transition: var(--transition); color: var(--dark);
  border: 2px solid transparent;
}
.cta-contact-card:hover { border-color: var(--primary); transform: translateX(6px); }
.cta-whatsapp:hover { border-color: #25D366; }
.cta-card-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary);
  flex-shrink: 0;
}
.cta-whatsapp .cta-card-icon { color: #25D366; }
.cta-contact-card strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--medium); }
.cta-contact-card span { font-size: 0.95rem; font-weight: 500; }

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative; height: 300px; display: flex; align-items: center;
  justify-content: center; margin-top: var(--nav-height);
  background: linear-gradient(135deg, var(--dark) 0%, var(--medium) 60%, var(--primary) 100%);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(61,32,53,0.7) 0%, rgba(212,96,122,0.4) 100%);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; padding: 0 1.5rem; }
.page-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 0.5rem; }
.page-hero-title span { color: var(--accent); }
.page-hero-subtitle { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 1rem; }
.breadcrumb-nav { display: flex; align-items: center; gap: 0.5rem; justify-content: center; color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.breadcrumb-nav a { color: rgba(255,255,255,0.82); transition: color 0.3s; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav i { font-size: 0.65rem; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.category-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-btn {
  padding: 0.5rem 1.25rem; border-radius: 50px;
  background: var(--white); color: var(--medium);
  border: 2px solid transparent; font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow); cursor: pointer; transition: var(--transition);
}
.cat-btn:hover { border-color: var(--primary); color: var(--primary); }
.cat-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.gallery-masonry {
  columns: 4 250px; column-gap: 1.25rem;
}
.gallery-masonry-item {
  break-inside: avoid; margin-bottom: 1.25rem;
}
.gallery-item-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow); transition: var(--transition);
}
.gallery-item-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.gallery-item-card img { width: 100%; display: block; }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,32,53,0.88) 0%, transparent 50%);
  opacity: 0; transition: var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.gallery-item-card:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-info h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.3rem; }
.gallery-item-info p { color: rgba(255,255,255,0.8); font-size: 0.78rem; margin-bottom: 0.5rem; }
.gallery-cat-badge {
  background: var(--primary); color: var(--white);
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem; border-radius: 50px;
}
.gallery-zoom-icon {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.9); color: var(--primary);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.94); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-container { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img-wrap { max-height: 80vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-caption {
  text-align: center; color: var(--white); padding: 1rem 2rem 0;
  font-size: 0.95rem; line-height: 1.5;
}
.lightbox-caption span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  color: var(--white); font-size: 1.5rem; background: none; border: none; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--primary-light); transform: rotate(90deg); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); color: var(--white);
  border: none; border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: var(--transition); backdrop-filter: blur(4px);
}
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-timeline { display: flex; flex-direction: column; gap: 2rem; max-width: 900px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; }
.timeline-date-col { display: flex; flex-direction: column; align-items: center; }
.timeline-date-badge {
  background: var(--primary); color: var(--white); border-radius: var(--radius);
  padding: 0.75rem 0.5rem; text-align: center; width: 75px;
  box-shadow: 0 4px 16px rgba(212,96,122,0.35);
}
.tl-day { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.tl-month { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.tl-year { display: block; font-size: 0.7rem; opacity: 0.75; margin-top: 0.15rem; }
.timeline-connector { flex: 1; width: 2px; background: linear-gradient(to bottom, var(--primary-light), transparent); margin: 0.5rem 0; }
.timeline-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.timeline-card-img { height: 220px; overflow: hidden; }
.timeline-card-img img { width: 100%; height: 100%; object-fit: cover; }
.timeline-card-body { padding: 1.5rem; }
.event-upcoming-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(212,96,122,0.1); color: var(--primary);
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 50px;
  margin-bottom: 0.75rem;
}
.timeline-card-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.event-desc-text { color: var(--medium); font-size: 0.9rem; margin: 0.75rem 0 1.25rem; }
.event-location-tag { color: var(--medium); font-size: 0.85rem; margin-bottom: 0.5rem; }

.past-events { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.event-past-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.event-past-img { position: relative; height: 160px; overflow: hidden; }
.event-past-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: var(--transition); }
.event-past-card:hover .event-past-img img { filter: grayscale(0); }
.event-past-no-img { background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem; color: var(--light-text); font-size: 2.5rem; }
.event-past-overlay { position: absolute; inset: 0; background: rgba(61,32,53,0.35); display: flex; align-items: flex-start; justify-content: flex-end; padding: 0.75rem; }
.past-badge { background: rgba(61,32,53,0.75); color: var(--white); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 50px; }
.event-past-body { padding: 1rem 1.25rem; }
.event-past-date { font-size: 0.78rem; color: var(--light-text); margin-bottom: 0.4rem; }
.event-past-body h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.event-past-desc { font-size: 0.8rem; color: var(--medium); }

/* ============================================================
   NEWS FULL PAGE
   ============================================================ */
.news-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.news-card-full { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card-full:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.news-date { font-size: 0.78rem; color: var(--light-text); }

/* ============================================================
   NEWS DETAIL
   ============================================================ */
.article-hero { position: relative; height: 420px; display: flex; align-items: flex-end; margin-top: var(--nav-height); }
.article-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.article-hero-gradient { background: linear-gradient(135deg, var(--dark), var(--primary)); }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(61,32,53,0.9) 0%, rgba(61,32,53,0.4) 60%, transparent 100%); }
.article-hero-content { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 2rem; }
.article-hero-title { font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--white); margin: 0.75rem 0; }
.article-meta { display: flex; gap: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.82rem; flex-wrap: wrap; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: flex-start; }
.article-main { min-width: 0; }
.article-excerpt { font-size: 1.1rem; color: var(--medium); font-style: italic; border-left: 4px solid var(--primary); padding-left: 1.25rem; margin-bottom: 2rem; }
.article-body { font-size: 1rem; line-height: 1.9; color: var(--dark); }
.article-body p { margin-bottom: 1.25rem; }
.article-body h3 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--dark); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--bg-light); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.article-share { display: flex; align-items: center; gap: 0.75rem; color: var(--medium); font-size: 0.85rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); font-size: 0.95rem; }
.share-btn:hover { transform: scale(1.15); }
.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877f2; }

.article-sidebar { position: sticky; top: calc(var(--nav-height) + 2rem); }
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.sidebar-widget-title { font-size: 1.1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--bg-light); color: var(--dark); }
.sidebar-news-list { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-news-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.5rem 0; border-bottom: 1px solid var(--bg-light); transition: var(--transition); }
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-item:hover { transform: translateX(4px); }
.sidebar-news-img { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.sidebar-news-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-news-info h5 { font-size: 0.82rem; line-height: 1.4; color: var(--dark); margin-bottom: 0.3rem; font-family: 'Poppins', sans-serif; }
.sidebar-news-date { font-size: 0.73rem; color: var(--light-text); }
.sidebar-contact p { color: var(--medium); font-size: 0.88rem; margin-bottom: 1rem; }

/* ============================================================
   AGENDA PAGE
   ============================================================ */
.agenda-legend { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.agenda-legend-title { font-size: 0.82rem; color: var(--medium); font-weight: 600; }

.agenda-timeline { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.agenda-timeline-item { display: grid; grid-template-columns: 80px 1px 1fr; gap: 1.5rem; align-items: flex-start; padding-bottom: 2rem; }
.agenda-timeline-item:last-child { padding-bottom: 0; }
.agenda-timeline-date { text-align: right; }
.ag-tl-day { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.ag-tl-month { display: block; font-size: 0.75rem; color: var(--medium); text-transform: uppercase; }
.ag-tl-year { display: block; font-size: 0.7rem; color: var(--light-text); }
.agenda-timeline-dot {
  width: 16px; height: 16px; border-radius: 50%; margin-top: 0.5rem;
  margin-left: -8px; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--primary);
  background: var(--primary); flex-shrink: 0;
  position: relative;
}
.agenda-timeline-dot::before {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 2px; background: linear-gradient(to bottom, var(--primary-light), transparent);
  height: 40px;
}
.type-dot-feira { background: #2d8a62; box-shadow: 0 0 0 2px #2d8a62; }
.type-dot-exposicao { background: #4055c0; box-shadow: 0 0 0 2px #4055c0; }
.type-dot-outro { background: var(--medium); box-shadow: 0 0 0 2px var(--medium); }

.agenda-timeline-card {
  background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow); transition: var(--transition);
}
.agenda-timeline-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.agenda-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.agenda-time { font-size: 0.8rem; color: var(--medium); }
.agenda-time i { color: var(--primary); }
.agenda-card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.agenda-card-location { font-size: 0.83rem; color: var(--medium); margin-bottom: 0.5rem; }
.agenda-card-location i { color: var(--primary); margin-right: 0.3rem; }
.agenda-card-desc { font-size: 0.88rem; color: var(--medium); line-height: 1.7; margin-bottom: 1rem; }

.agenda-past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.agenda-past-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); opacity: 0.8; }
.agenda-past-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.agenda-past-date { font-size: 0.75rem; color: var(--light-text); }
.agenda-past-title { font-size: 0.95rem; margin-bottom: 0.4rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: flex-start; }
.contact-intro { color: var(--medium); margin: 1rem 0 2rem; font-size: 1rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.5rem;
  box-shadow: var(--shadow); transition: var(--transition); color: var(--dark);
}
.contact-info-card:hover { transform: translateX(6px); }
.contact-whatsapp-card:hover { border-color: #25D366; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); flex-shrink: 0;
}
.contact-whatsapp-card .contact-icon { color: #25D366; }
.contact-detail strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--medium); margin-bottom: 0.15rem; }
.contact-detail a, .contact-detail span { font-size: 0.92rem; color: var(--dark); }
.contact-detail a:hover { color: var(--primary); }
.contact-social h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--medium); margin-bottom: 0.75rem; }
.contact-social-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.contact-social-btn {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  border-radius: 50px; font-size: 0.82rem; font-weight: 600; color: var(--white);
  transition: var(--transition);
}
.contact-social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.facebook { background: #1877f2; }
.tiktok { background: #010101; }
.youtube { background: #ff0000; }

.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-hover); }
.contact-form-header { margin-bottom: 1.75rem; }
.contact-form-header h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 0.3rem; }
.contact-form-header p { color: var(--medium); font-size: 0.88rem; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--medium); margin-bottom: 0.4rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--primary-light); font-size: 0.9rem; pointer-events: none; }
.input-icon-wrap input, .input-icon-wrap select { padding-left: 2.75rem !important; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--bg-light);
  border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--dark);
  background: var(--bg); transition: var(--transition); outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(212,96,122,0.1);
}
.contact-form textarea { resize: vertical; }
.btn-contact-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; border-radius: var(--radius-sm); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--light-text); margin-top: 0.75rem; }
.form-success-msg {
  text-align: center; padding: 2rem;
}
.form-success-msg i { font-size: 3rem; color: #25D366; margin-bottom: 1rem; display: block; }
.form-success-msg h4 { font-size: 1.3rem; color: var(--dark); margin-bottom: 0.5rem; }
.form-success-msg p { color: var(--medium); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--medium); }
.empty-state-icon { font-size: 4rem; color: var(--primary-light); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-nav { margin-top: 3rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.page-btn {
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); background: var(--white);
  color: var(--medium); font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow);
  transition: var(--transition); display: flex; align-items: center; gap: 0.4rem;
}
.page-btn:hover { background: var(--bg-light); color: var(--primary); }
.page-btn.active { background: var(--primary); color: var(--white); }
.page-ellipsis { background: transparent; box-shadow: none; cursor: default; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
  position: fixed; top: calc(var(--nav-height) + 0.75rem); right: 1rem; z-index: 999;
  display: flex; flex-direction: column; gap: 0.5rem; max-width: 400px;
}
.flash {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1.25rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover); font-size: 0.88rem; font-weight: 500;
  animation: slideInRight 0.4s ease;
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-danger { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; font-size: 0.8rem; }
.flash-close:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer-bg); color: rgba(255,255,255,0.8); }
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem;
}
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-logo-accent { color: var(--accent); }
.footer-logo-img { max-height: 60px; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { font-style: italic; font-size: 0.88rem; opacity: 0.75; margin-bottom: 1.5rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: 0.95rem; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }
.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.footer-links li a i { font-size: 0.65rem; color: var(--primary-light); }
.footer-links li a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { font-size: 0.88rem; color: rgba(255,255,255,0.75); display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact li i { color: var(--primary-light); margin-top: 0.2rem; flex-shrink: 0; }
.footer-whatsapp-link { color: #74e89b !important; font-weight: 600; }
.footer-whatsapp-link:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 0.5rem;
}
.footer-admin-link a { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-admin-link a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5b; transform: scale(1.12);
  animation: none;
}
.whatsapp-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: var(--white); font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.9rem; border-radius: 50px; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes waPulse {
  0% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0.15); }
  100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary); transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   CART NAV ICON
   ============================================================ */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
.cart-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .cart-icon-btn,
.navbar--inner .cart-icon-btn {
  background: var(--bg-light); color: var(--dark);
}
.cart-icon-btn:hover { background: var(--primary); color: var(--white) !important; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--primary); color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.cart-badge.hidden { display: none; }

/* ============================================================
   STORE PAGE
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card-img {
  position: relative; overflow: hidden; aspect-ratio: 1;
  display: block;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.stock-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--accent); color: var(--dark);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: 20px;
}
.stock-badge.out { background: #ddd; color: #888; }
.product-card-body { padding: 1.25rem; }
.product-card-category {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--light-text); margin-bottom: 0.4rem;
}
.product-card-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
.product-card-price {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: var(--primary); font-weight: 700; margin-bottom: 1rem;
}
.product-card-price small { font-size: 0.8rem; font-family: 'Poppins', sans-serif; color: var(--light-text); }
.btn-add-cart {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem; background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }
.btn-add-cart:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; padding: 3rem 0;
}
.product-detail-img { border-radius: var(--radius); overflow: hidden; }
.product-detail-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--primary); font-weight: 700; margin: 1rem 0;
}
.qty-selector {
  display: flex; align-items: center; gap: 0; border: 2px solid var(--primary-light);
  border-radius: var(--radius-sm); overflow: hidden; width: fit-content; margin-bottom: 1.5rem;
}
.qty-btn {
  width: 40px; height: 44px; background: var(--bg-light); color: var(--dark);
  border: none; font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--primary-light); }
.qty-input {
  width: 56px; height: 44px; text-align: center; border: none;
  font-size: 1rem; font-weight: 600; background: var(--white); color: var(--dark);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; padding: 2rem 0 4rem; }
.cart-table { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem; align-items: center; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bg-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-title { font-weight: 600; color: var(--dark); }
.cart-item-price { color: var(--medium); font-size: 0.9rem; }
.cart-qty-input {
  width: 56px; text-align: center; padding: 0.4rem;
  border: 2px solid var(--primary-light); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
}
.cart-item-subtotal { font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-remove-btn { color: var(--light-text); font-size: 0.85rem; transition: color 0.2s; }
.cart-remove-btn:hover { color: #e53e3e; }

.cart-summary {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem;
  position: sticky; top: calc(var(--nav-height) + 1rem);
}
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--dark); }
.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; color: var(--medium); }
.summary-row.total {
  border-top: 2px solid var(--primary-light); margin-top: 0.5rem;
  padding-top: 1rem; font-weight: 700; font-size: 1.2rem; color: var(--dark);
}
.summary-row.total span:last-child { color: var(--primary); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; padding: 2rem 0 4rem; }
.checkout-form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem;
}
.checkout-form-card h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--dark); border-bottom: 2px solid var(--bg-light); padding-bottom: 0.75rem; }
.checkout-form-group { margin-bottom: 1.25rem; }
.checkout-form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--medium); margin-bottom: 0.4rem; }
.checkout-form-group input,
.checkout-form-group textarea,
.checkout-form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid #f0ddd5;
  border-radius: var(--radius-sm); font-size: 0.95rem; transition: border-color 0.2s;
}
.checkout-form-group input:focus,
.checkout-form-group textarea:focus { outline: none; border-color: var(--primary); }
.payment-option {
  border: 2px solid var(--primary-light); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem;
  cursor: pointer; transition: var(--transition);
}
.payment-option.selected { border-color: var(--primary); background: var(--bg-light); }
.payment-option.disabled { opacity: 0.5; cursor: not-allowed; }
.payment-option i { font-size: 1.5rem; color: var(--primary); }

/* ============================================================
   PIX PAYMENT PAGE
   ============================================================ */
.pix-container { max-width: 600px; margin: 3rem auto 5rem; text-align: center; }
.pix-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2.5rem; margin-bottom: 1.5rem; text-align: left;
}
.pix-qrcode { display: inline-block; padding: 1rem; background: white; border-radius: var(--radius-sm); margin: 1.5rem auto; }
.pix-qrcode img { width: 220px; height: 220px; display: block; }
.pix-code-box {
  background: var(--bg-light); border: 2px dashed var(--primary-light);
  border-radius: var(--radius-sm); padding: 1rem; word-break: break-all;
  font-family: monospace; font-size: 0.78rem; color: var(--medium);
  margin: 1rem 0; position: relative;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem; background: var(--primary); color: var(--white);
  border: none; border-radius: 50px; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: var(--transition); margin-top: 0.5rem;
}
.copy-btn:hover { background: var(--primary-dark); }
.copy-btn.copied { background: #38a169; }
.pix-steps { text-align: left; margin: 1.5rem 0; }
.pix-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.pix-step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.88rem;
}
.pix-step-text { color: var(--medium); font-size: 0.95rem; padding-top: .35rem; }
.pix-order-total { font-size: 2rem; font-family: 'Playfair Display', serif; color: var(--primary); font-weight: 700; margin: 1rem 0; text-align: center; }
.pix-warning { background: #fffbeb; border: 1px solid #f6e05e; border-radius: var(--radius-sm); padding: 1rem 1.25rem; color: #744210; font-size: 0.9rem; margin-top: 1rem; text-align: left; }

/* ============================================================
   ORDER CONFIRMATION
   ============================================================ */
.confirmation-container { max-width: 640px; margin: 3rem auto 5rem; text-align: center; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%; background: #f0fff4;
  border: 3px solid #38a169; color: #38a169; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Responsive store/cart */
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cart-item { grid-template-columns: 56px 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .gallery-masonry { columns: 3 200px; }
  .contact-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 3.5rem 0; }
  /* Remove backdrop-filter from navbar on mobile: it creates a stacking context that
     breaks position:fixed on .nav-menu, making the overlay lose its full-screen sizing. */
  .navbar.scrolled,
  .navbar--inner { backdrop-filter: none; }
  .nav-menu {
    position: fixed; inset: 0; top: var(--nav-height);
    background: #FFF8F5; flex-direction: column; align-items: center;
    justify-content: flex-start; padding-top: 2rem; gap: 0.5rem;
    transform: translateX(100%); transition: transform 0.4s ease;
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; color: var(--dark) !important; padding: 0.75rem 2rem; }
  .nav-toggle { display: flex; }
  .gallery-masonry { columns: 2 160px; }
  .timeline-item { grid-template-columns: 70px 1fr; }
  .agenda-timeline-item { grid-template-columns: 70px 2px 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .lightbox-prev { left: -2.5rem; }
  .lightbox-next { right: -2.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .section-title { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 1.25rem; right: 1.25rem; }
  .page-hero { height: 240px; }
  .article-hero { height: 280px; }
}
