/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2c2c2c;
  background-color: #ffffff;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 54px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a3a2a;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #c8a84b;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('fotos/Museu\ da\ Porcelana\ em\ Pedreira.png');
  background-size: cover;
  background-position: center;
  text-align: center;
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - 72px);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: normal;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.tagline {
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* =============================================
   SECTIONS — BASE
   ============================================= */
.section {
  padding: 96px 0;
}

.section h2 {
  font-size: 1.45rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid currentColor;
}

.section p {
  margin-bottom: 16px;
  max-width: 780px;
}

.section p:last-of-type {
  margin-bottom: 0;
}

/* =============================================
   SECTION LIGHT
   ============================================= */
.section-light {
  background-color: #f9f7f2;
  color: #2c2c2c;
}

.section-light h2 {
  color: #1a3a2a;
  border-color: #c8a84b;
}

/* =============================================
   SECTION DARK
   ============================================= */
.section-dark {
  background-color: #1a3a2a;
  color: #e8e0d0;
}

.section-dark h2 {
  color: #f5e8c0;
  border-color: #c8a84b;
}

.section-dark p {
  color: #d8d0c0;
}

.btn-link {
  display: inline-block;
  margin-top: 24px;
  color: #c8a84b;
  text-decoration: none;
  font-style: italic;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.btn-link:hover {
  border-color: #c8a84b;
}

/* =============================================
   MISSÃO E VALORES
   ============================================= */
.values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  margin: 32px 0 0;
}

.values li {
  font-size: 1.1rem;
  line-height: 1.4;
  color: #1a3a2a;
  padding: 6px 0 6px 16px;
  border-left: 3px solid #c8a84b;
}

@media (max-width: 600px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* Objetivos: mais largos que o restante da página */
.goals {
  margin-top: 80px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw - 48px);
}

.subhead {
  font-size: 1.05rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a3a2a;
  margin: 48px 0 20px;
}

.subhead-dark {
  color: #f5e8c0;
  margin: 32px 0 16px;
}

.goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.goal {
  background: #ffffff;
  border: 1px solid #e0d8c8;
  border-top: 3px solid #c8a84b;
  border-radius: 2px;
  overflow: hidden;
}

.goal img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.goal img.pos-center {
  object-position: center 55%;
}

.goal-body {
  padding: 22px 22px 26px;
}

.goal h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a3a2a;
  margin-bottom: 12px;
}

.goal ul {
  list-style: none;
}

.goal li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
}

.goal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: #c8a84b;
  border-radius: 50%;
}

/* =============================================
   AÇÕES & BACCARELLI
   ============================================= */
.action-highlight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 168, 75, 0.35);
  border-left: 4px solid #c8a84b;
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.concert {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: start;
}

.concert-invite {
  display: block;
  border: 1px solid rgba(200, 168, 75, 0.6);
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  line-height: 0;
  transition: border-color 0.2s, background-color 0.2s;
}

.concert-invite img {
  display: block;
  width: 100%;
  height: auto;
}

.concert-invite:hover {
  border-color: #c8a84b;
  background: rgba(200, 168, 75, 0.12);
}

.concert-invite:focus-visible {
  outline: 3px solid #f5e8c0;
  outline-offset: 3px;
}

.concert-info .action-lead:last-of-type {
  margin-bottom: 0;
}

.concert-story {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(200, 168, 75, 0.35);
}

.concert-story-title {
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.4;
  color: #f5e8c0;
  margin-bottom: 16px;
}

.section-dark .concert-story p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #e8e0d0;
}

.action-badge {
  display: inline-block;
  background-color: #c8a84b;
  color: #1a3a2a;
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.action-title {
  font-size: 1.6rem;
  font-weight: normal;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.action-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #f0eae1;
  margin-bottom: 24px;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(200, 168, 75, 0.35);
}

.event-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #c8a84b;
  border-radius: 4px;
  padding: 20px 16px;
}

.event-detail-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.event-detail-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-detail-label {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c8a84b;
}

.event-detail-text strong {
  font-size: 0.96rem;
  color: #ffffff;
  font-weight: 600;
}

.section-dark .section-subtitle {
  font-size: 1.2rem;
  font-style: italic;
  color: #f5e8c0;
  margin-bottom: 32px;
}

/* =============================================
   IDEIAS
   ============================================= */
.ideas {
  list-style: none;
  margin-top: 28px;
}

.ideas li {
  background: #ffffff;
  border: 1px solid #e0d8c8;
  border-left: 3px solid #c8a84b;
  padding: 16px 20px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #555;
}

.ideas strong {
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a3a2a;
  margin-bottom: 2px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
}

.gallery figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
  color: #777;
}

/* =============================================
   SECTION ACCENT (Faça parte)
   ============================================= */
.section-accent {
  background-color: #1a3a2a;
  color: #ffffff;
  text-align: center;
}

.section-accent h2 {
  color: #f5e8c0;
  border-color: #c8a84b;
  display: inline-block;
}

.section-accent p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
}

.section-accent .cta-lead {
  font-size: 1.15rem;
  font-style: italic;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0 36px;
  text-align: left;
}

.cta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-top: 3px solid #c8a84b;
  padding: 24px 20px;
  border-radius: 2px;
}

.cta-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f5e8c0;
  margin-bottom: 8px;
}

.cta-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

/* =============================================
   HISTÓRIAS DE PEDREIRA
   ============================================= */
.section-history {
  background-color: #f9f7f2;
  color: #2c2c2c;
}

.section-history h2 {
  color: #1a3a2a;
  border-color: #c8a84b;
}

.section-history p.history-lead {
  font-size: 1.15rem;
  font-style: italic;
  color: #1a3a2a;
  margin-bottom: 28px;
}

.story-eyebrow,
.section p.story-eyebrow {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9a7d2a;
  margin-bottom: 10px;
}

.story-link {
  display: inline-block;
  margin-top: 12px;
  color: #1a3a2a;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #c8a84b;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.story-link:hover {
  color: #9a7d2a;
  border-color: #1a3a2a;
}

.story-link:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid #1a3a2a;
  outline-offset: 3px;
}

.concert-story .story-link {
  color: #f5e8c0;
}

.concert-story .story-link:hover {
  color: #ffffff;
  border-color: #f5e8c0;
}

.concert-story .story-link:focus-visible {
  outline-color: #f5e8c0;
}

.section-accent .btn-primary:focus-visible {
  outline-color: #f5e8c0;
}

/* =============================================
   PÁGINAS DE HISTÓRIA
   ============================================= */
.page-header {
  background-color: #1a3a2a;
  color: #f5e8c0;
  text-align: center;
  padding: 72px 0 64px;
  border-bottom: 3px solid #c8a84b;
}

.page-header .story-eyebrow {
  color: #c8a84b;
}

.page-header h1 {
  font-size: 2.1rem;
  font-weight: normal;
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto;
}

.page-header .page-subtitle {
  margin: 18px auto 0;
  max-width: 640px;
  font-style: italic;
  color: #d8d0c0;
}

.breadcrumb {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.82rem;
  margin-bottom: 28px;
}

.breadcrumb a {
  color: #c8a84b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  border-color: #c8a84b;
}

.breadcrumb a:focus-visible,
.nav-links a:focus-visible,
.nav-logo:focus-visible {
  outline: 3px solid #c8a84b;
  outline-offset: 3px;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.section .article h2 {
  font-size: 1.35rem;
  color: #1a3a2a;
  margin: 56px 0 18px;
  padding-bottom: 10px;
  border-color: #c8a84b;
}

.section .article h2:first-child {
  margin-top: 0;
}

.section .article p {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.95;
  margin-bottom: 20px;
}

.section .article .lead {
  font-size: 1.25rem;
  font-style: italic;
  color: #1a3a2a;
}

.archive-note {
  margin-top: 56px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e0d8c8;
  border-left: 3px solid #c8a84b;
  color: #555;
}

.section .archive-note p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.story-index {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.story-index a {
  display: block;
  background: #ffffff;
  border: 1px solid #e0d8c8;
  border-left: 3px solid #c8a84b;
  padding: 24px 28px;
  text-decoration: none;
  color: #2c2c2c;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.story-index a:hover {
  border-left-color: #1a3a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.story-index a:focus-visible {
  outline: 3px solid #1a3a2a;
  outline-offset: 3px;
}

.story-index strong {
  display: block;
  font-size: 1.15rem;
  font-weight: normal;
  color: #1a3a2a;
  margin-bottom: 6px;
}

.story-index span {
  font-size: 0.95rem;
  color: #555;
}

.back-link {
  display: inline-block;
  margin-top: 56px;
}

.article-figure {
  margin: 36px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e0d8c8;
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  color: #777;
}



.btn-primary {
  display: inline-block;
  background-color: #c8a84b;
  color: #1a3a2a;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color 0.2s;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #dbbf5e;
}

/* =============================================
   SLIDESHOW
   ============================================= */
.slideshow-section {
  background-color: #1a3a2a;
  padding: 0;
  line-height: 0;
}

.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 680px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  z-index: 2;
}

.slide-btn:hover {
  background: rgba(255,255,255,0.32);
}

.slide-btn.prev { left: 14px; }
.slide-btn.next { right: 14px; }

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: #ffffff;
  color: #555;
  padding: 40px 0 24px;
  text-align: center;
  font-size: 0.82rem;
  border-top: 3px solid #c8a84b;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
  border: 2px solid #e5e7eb;
}

.footer-logo-circle img {
  width: 114px;
  height: 114px;
  object-fit: contain;
}

.footer-sub {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #999;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .event-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .concert {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .concert-invite {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .action-highlight {
    padding: 20px;
  }

  .event-details {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .concert-story-title {
    font-size: 1.15rem;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .tagline {
    font-size: 1.15rem;
  }

  .section h2 {
    font-size: 1.2rem;
  }

  .goals,
  .cta-cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 240px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
}
