/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --fg: #0d0d0d;
  --primary: #000000;
  --primary-fg: #ffffff;
  --secondary: #f5f5f5;
  --secondary-fg: #1a1a1a;
  --muted-fg: #737373;
  --border: #e6e6e6;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

img {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.hidden {
  display: none !important;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* .header.scrolled {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
} */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .nav {
    padding: 1.25rem 3rem;
  }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-fg);
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-btn, .submenu-toggle  {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.nav-btn:hover {
  color: var(--primary-fg);
}

.menu-toggle {
  display: block;
  color: var(--primary-fg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  background: var(--primary);
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.mobile-menu.open {
  max-height: 1000px;
  opacity: 1;
}

.submenu-mobile {
  padding: 20px 0;
  position: relative;
  /* 💥 ESSENCIAL */
  left: auto;
  width: 100%;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.mobile-menu-links .nav-btn, .submenu-toggle  {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-fg);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s 0.3s ease-out forwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-line {
  width: 4rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  transform: scaleX(0);
  animation: scaleIn 0.8s 0.8s ease-out forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s 1s ease-out forwards;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 0.875rem;
  }
}

/* Slide indicators */
.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}

.indicator.active {
  background: var(--primary-fg);
  width: 2rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollBounce 2s infinite;
}

.scroll-mouse {
  width: 1.25rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
}

/* ========================================
   GALLERY / PORTFOLIO
   ======================================== */
.gallery-section {
  padding: 6rem 1.5rem;
  background: var(--bg);
}

@media (min-width: 768px) {
  .gallery-section {
    padding: 8rem 3rem;
  }
}

@media (min-width: 1024px) {
  .gallery-section {
    padding: 8rem 5rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--fg);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-line {
  width: 3rem;
  height: 1px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 80rem;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .masonry {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  cursor: pointer;
  overflow: hidden;
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* pode ajustar */
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.5s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-overlay-title,
.gallery-overlay-cat {
  opacity: 0;
  transition: opacity 0.5s;
}

.gallery-item:hover .gallery-overlay-title,
.gallery-item:hover .gallery-overlay-cat {
  opacity: 1;
}

.gallery-overlay-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-fg);
  letter-spacing: 0.05em;
}

.gallery-overlay-cat {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* ========================================
   ABOUT
   ======================================== */
.about-section {
  padding: 6rem 1.5rem;
  background: var(--secondary);
}

.colunas-sobre {
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: center;
  flex-direction: column;
}

.txt-sobre,
.img-sobre {
  flex: 1;
}

@media (min-width: 768px) {
  .about-section {
    padding: 8rem 3rem;
  }

  .colunas-sobre {
    flex-direction: row;
  }
}

.about-content {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.about-content .section-line {
  margin-bottom: 2.5rem;
}

.about-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
  text-align: start;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1rem;
  }
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary);
  padding: 4rem 1.5rem;
}

.footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--primary-fg);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-title {
    font-size: 2.25rem;
  }
}

.footer-line {
  width: 3rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 1.5rem;
}

.footer-email {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-fg);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.visible {
  opacity: 1;
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  z-index: 10;
}

.lb-close:hover {
  color: #fff;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  z-index: 10;
}

.lb-prev:hover,
.lb-next:hover {
  color: #fff;
}

.lb-prev {
  left: 1rem;
}

.lb-next {
  right: 1rem;
}

@media (min-width: 768px) {
  .lb-prev {
    left: 2rem;
  }

  .lb-next {
    right: 2rem;
  }
}

.lb-image {
  max-height: 85vh;
  max-width: 90vw;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
}

.lb-image.visible {
  opacity: 1;
  transform: scale(1);
}

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FADE-IN ON SCROLL
   ======================================== */
.fade-trigger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-trigger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   KEYFRAMES
   ======================================== */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    transform: scaleX(1);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}



.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 10px 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
}

.submenu li {
  list-style: none;
}

.submenu button {
  width: 100%;
  padding: 10px 20px;
  color: #fff;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.submenu li:hover {
  background: #111;
}

/* hover desktop */
.has-submenu:hover .submenu {
  display: flex;
}

.submenu li a, .submenu-mobile li a {
  color: #ccc;
  display: block;
  padding: 10px 20px;
}

.has-submenu-mobile{
  text-align: center;
}
.mural {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.mural-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* efeito mosaic */
.mural-item:nth-child(3n) {
  grid-row: span 2;
}

.mural-item:nth-child(5n) {
  grid-row: span 3;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  background: #2b2b2b;
}

.form-left {
  background: #ccc;
  /* depois você coloca imagem */
  min-height: 500px;
}

.form-right {
  padding: 40px;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  background: #1f1f1f;
  border: none;
  color: #fff;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.wpcf7 textarea {
  height: 150px;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
}

.wpcf7-submit {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border: 1px solid #555;
  cursor: pointer;
}

.wpcf7-submit:hover {
  background: #444;
}

.form-footer {
  background: #2b2b2b;
  color: #ccc;
  font-size: 13px;
  padding: 15px 40px;
}


.cookie-modal {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.cookie-box {
  background: #111;
  color: #fff;
  padding: 20px 25px;
  border: 1px solid #333;
  max-width: 420px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.cookie-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  padding: 10px;
  border: 1px solid #555;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.cookie-actions button:hover {
  background: #222;
}

#accept-cookies {
  background: #fff;
  color: #000;
}

#accept-cookies:hover {
  background: #ddd;
}

.hidden {
  display: none;
}



.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px;
}

.page-hero {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 10px;
}

.page-line {
  width: 60px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
}

.page-content {
  color: #000;
  font-size: 16px;
  line-height: 1.7;
}

.page-content p {
  margin-bottom: 20px;
}

/* imagens dentro do editor */
.page-content img {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* headings */
.page-content h2,
.page-content h3 {
  color: #000;
  margin-top: 30px;
}