:root {
  --bg: #faf5ef;
  --surface: #27211d;
  --surface-soft: rgba(39, 33, 29, 0.9);
  --text: #f5efe1;
  --muted: #b8a48d;
  --accent: #c39f6d;
  --border: rgba(195, 159, 109, 0.25);
}

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #2c2621;
  background: #f9f2ea;
}

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

img {
  max-width: 100%;
  display: block;
}

.hero-image {
  background-image: linear-gradient(rgba(22, 18, 16, 0.55), rgba(22, 18, 16, 0.55)), url("/assets/home/hero_2.jpg");
  height: 65vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-items: center;
}

.collection-hero,
.hero-cadeiras {
  background: #f9f2ea;
  overflow: hidden;
}

.collection-hero img,
.hero-cadeiras img {
  width: 100%;
  height: auto;
  max-height: min(82vh, 860px);
  object-fit: contain;
  object-position: center;
}

.hero-text {
  text-align: center;
  max-width: 760px;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 5rem);
  line-height: 0.95;
  color: var(--text);
  letter-spacing: -0.05em;
}

.hero-text p {
  margin: 1.2rem auto 1.8rem;
  max-width: 620px;
  color: rgba(245, 239, 225, 0.92);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  padding: 0.95rem 2rem;
  border: 1px solid rgba(245, 239, 225, 0.7);
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(195, 159, 109, 0.15);
}

.intro-panel,
.collections {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.intro-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 1.5rem;
}

.intro-copy {
  padding: 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
}

.intro-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  color: #1f1a17;
}

.intro-copy p {
  margin: 1rem 0 0;
  max-width: 100%;
  color: #53483f;
  font-size: 0.95rem;
  line-height: 1.7;
}

.intro-image {
  position: relative;
}

.intro-image img {
  border-radius: 1.5rem;
  box-shadow: 0 40px 90px rgba(29, 24, 21, 0.15);
}

.collections {
  padding-top: 2rem;
}

.page-hero {
  padding: 5rem 1.5rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text);
  background: linear-gradient(
    180deg,
    rgba(22, 18, 16, 0.8),
    rgba(39, 33, 29, 0.8)
  );
}

.page-hero--about {
  background-image:
    linear-gradient(180deg, rgba(22, 18, 16, 0.85), rgba(39, 33, 29, 0.85)),
    url("/assets/home/hero_2.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero--contact {
  background-image:
    linear-gradient(180deg, rgba(22, 18, 16, 0.9), rgba(39, 33, 29, 0.9)),
    url("/assets/home/hero_2.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero .section-label {
  color: var(--accent);
}

.page-hero h1 {
  margin: 0.75rem auto 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 1.5rem auto 0;
  max-width: 720px;
  color: rgba(245, 239, 225, 0.94);
  font-size: 1.05rem;
  line-height: 1.9;
}

.page-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-section {
  margin-bottom: 3rem;
}

.page-section h1,
.page-section h2,
.page-section h3 {
  color: #2c2621;
}

.page-section p,
.page-section li {
  color: #4e433c;
  line-height: 1.8;
}

.page-section ul {
  margin: 1rem 0 0 1.25rem;
}

.info-card,
.contact-card,
.location-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(195, 159, 109, 0.18);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(31, 25, 20, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-card h3,
.location-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-card a,
.page-section a {
  color: var(--accent);
  font-weight: 600;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0.75rem auto 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: #2c2621;
  max-width: 820px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.collection-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(32, 25, 21, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: block;
  text-decoration: none;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(32, 25, 21, 0.14);
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(32, 25, 21, 0.14);
}

.collection-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 1rem;
}

.gallery .collection-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery .collection-card:hover {
  transform: none;
  box-shadow: none;
}

.gallery .collection-card img {
  aspect-ratio: 2 / 1;
  height: auto;
  border-radius: 0;
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(18, 15, 13, 0.92);
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox__image {
  max-width: min(94vw, 1440px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 239, 225, 0.35);
  border-radius: 0;
  background: rgba(39, 33, 29, 0.9);
  color: #f5efe1;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.collection-card h3 {
  margin: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: #2c2621;
}

.collection-breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  font-size: 0.9rem;
  color: #53483f;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.collection-breadcrumb a {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s ease;
}

.collection-breadcrumb a:hover {
  color: #2c2621;
}

.collection-breadcrumb span {
  color: #b8a48d;
}

.collection-cta {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1.5px solid rgba(195, 159, 109, 0.5);
  color: #2c2621;
  background: rgba(255, 255, 255, 0.98);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.cta-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(195, 159, 109, 0.15);
}

.cta-button--primary {
  background: linear-gradient(
    135deg,
    rgba(195, 159, 109, 0.2),
    rgba(195, 159, 109, 0.1)
  );
  color: #f5efe1;
  background: #2c2621;
  border-color: #2c2621;
}

.cta-button--primary:hover {
  background: var(--accent);
  color: #2c2621;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(195, 159, 109, 0.25);
}

@media (max-width: 860px) {
  .collection-hero img,
  .hero-cadeiras img {
    max-height: none;
  }

  .intro-panel {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 55vh;
  }

  #main-nav {
    gap: 1.5rem;
    padding: 0.75rem 1rem;
  }

  .collections-dropdown {
    min-width: 180px;
  }
}

@media (max-width: 640px) {
  #main-nav {
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  #main-nav a {
    font-size: 0.8rem;
  }

  .nav-collections > a {
    font-size: 0.8rem;
  }

  .collections-dropdown {
    min-width: 160px;
    padding: 0.5rem 0;
  }

  .collections-dropdown a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-hero p {
    font-size: 0.95rem;
    margin: 1rem auto 0;
  }

  .intro-copy h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .collection-card img {
    height: 200px;
  }

  .gallery .collection-card img {
    height: auto;
  }

  .collection-cta {
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
  }
}

@media (max-width: 560px) {
  #main-nav {
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
  }

  #main-nav a {
    font-size: 0.75rem;
  }

  .nav-collections > a::after {
    margin-left: 0.25rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .collection-card img {
    height: 180px;
  }

  .gallery .collection-card img {
    height: auto;
  }

  .collection-breadcrumb {
    font-size: 0.8rem;
    gap: 0.5rem;
    padding: 1rem 1.5rem 0;
  }

  .page-section {
    margin-bottom: 2rem;
  }

  .intro-panel {
    padding: 2rem 1.5rem;
  }

  .collection-cta {
    flex-direction: column;
    margin-top: 1.5rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid,
  .location-list {
    grid-template-columns: 1fr;
  }
}

#main-nav {
  background: linear-gradient(
    135deg,
    rgba(39, 33, 29, 0.98),
    rgba(27, 21, 18, 0.98)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(195, 159, 109, 0.15);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

#main-nav a,
#main-nav > div {
  color: #f5efe1;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

#main-nav a:hover {
  color: var(--accent);
}

.nav-collections {
  position: relative;
}

.nav-collections > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-collections > a::after {
  content: "▼";
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav-collections.open > a::after {
  transform: rotateZ(180deg);
}

.collections-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(27, 21, 18, 0.98);
  border: 1px solid rgba(195, 159, 109, 0.2);
  border-radius: 0.85rem;
  padding: 0.75rem 0;
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  margin-top: 0.5rem;
}

.nav-collections.open .collections-dropdown {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.collections-dropdown a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(245, 239, 225, 0.88);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.collections-dropdown a:hover {
  background: rgba(195, 159, 109, 0.15);
  color: var(--accent);
}

.site-footer {
  background: #27211d;
  color: #faf5ef;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-logo {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-contact p,
.footer-locations p {
  color: rgba(245, 239, 225, 0.82);
  line-height: 1.8;
  margin: 0.4rem 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(195, 159, 109, 0.1);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(195, 159, 109, 0.25);
  transform: translateY(-2px);
}

.footer-social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-contact a:hover {
  color: #fff;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #f9f2e9;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.35rem;
  background: rgba(195, 159, 109, 0.14);
  border: 1px solid rgba(245, 239, 225, 0.16);
  border-radius: 999px;
  color: var(--text);
}

.footer-bottom {
  max-width: 1180px;
  margin: 2rem auto 0;
  text-align: center;
  color: rgba(245, 239, 225, 0.6);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

.whatsapp-bubble {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  z-index: 900 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34), 0 8px 22px rgba(32, 25, 21, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* .whatsapp-bubble {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  display: block !important;
  width: 60px !important;
  height: 60px !important;
} */

.whatsapp-bubble:hover,
.whatsapp-bubble:focus-visible {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe5d;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42), 0 10px 28px rgba(32, 25, 21, 0.22);
  outline: none;
}

.whatsapp-bubble img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
 /* .whatsapp-bubble img {
  width: 100% !important;
  height: auto !important;
} */

@media (max-width: 640px) {
  .whatsapp-bubble {
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-bubble img {
    width: 28px;
    height: 28px;
  }
}