:root {
  --teal-dark: #2f5c58;
  --teal: #3f7570;
  --teal-light: #a9c9c4;
  --cream: #fcf7f1;
  --cream-soft: #fcf7f1;
  --cream-gallery: #f7f1e4;
  --gold: #c8a06a;
  --gold-soft: #e3cca0;
  --text: #2c3a38;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  background: var(--teal-dark);
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--cream-soft);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--teal-dark);
  letter-spacing: 0.03em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gold-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

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

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

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

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--teal-dark);
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  text-align: center;
  padding: 3.5rem 1.5rem 4rem;
}

.hero-logo {
  max-width: 480px;
  width: 100%;
  height: auto;
}

.hero-tagline {
  color: var(--teal);
  font-style: italic;
  font-size: 1.15rem;
  margin: 1rem 0 1.8rem;
}

.btn {
  display: inline-block;
  background: var(--teal-dark);
  color: var(--cream-soft);
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--teal-dark);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--cream-soft);
}

/* Sections */
section {
  padding: 4rem 0;
}

.sobre {
  background: var(--cream-soft);
  text-align: center;
}

.sobre p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--text);
}

.sobre-img {
  display: block;
  max-width: 816px;
  width: 100%;
  height: auto;
  margin: 2rem auto 0;
  border-radius: 10px;
}

.galeria {
  background: var(--cream-gallery);
}

.galeria h2, .sobre h2, .contato h2 {
  text-align: center;
  margin-bottom: 0.3rem;
}

.galeria-intro {
  text-align: center;
  color: var(--teal);
  margin-bottom: 2.5rem;
}

/* Carousel */
.carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-track-wrap {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .carousel-slide { flex: 0 0 50%; }
}

@media (min-width: 960px) {
  .carousel-slide { flex: 0 0 33.3333%; }
}

.art-item {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(47, 92, 88, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.art-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(47, 92, 88, 0.25);
}

.art-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  background: var(--teal-dark);
  color: var(--cream-soft);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.carousel-btn:hover { background: var(--gold); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 33, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream-soft);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* Footer / Contato */
.contato {
  background: var(--teal-dark);
  color: var(--cream-soft);
  text-align: center;
  padding: 1.75rem 0 1.5rem;
  margin-top: auto;
}

.contato h2 { color: var(--cream-soft); }

.contato p { color: var(--teal-light); max-width: 500px; margin: 0.8rem auto 1.6rem; }

.contato .btn-outline {
  color: var(--cream-soft);
  border-color: var(--gold);
}

.contato .btn-outline:hover {
  background: var(--gold);
  color: var(--teal-dark);
}

.copyright {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--teal-light);
}

/* Responsive nav */
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner.open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-soft);
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gold-soft);
  }
}
