:root {
  --color-bg: #0d0d0d;
  --color-bg-alt: #161412;
  --color-surface: #1a1815;
  --color-gold: #c9a24b;
  --color-gold-light: #e2c789;
  --color-text: #f2ede4;
  --color-text-muted: #b8b0a2;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
  --container-width: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled {
  background: rgba(13, 13, 13, 0.96);
  border-color: rgba(201, 162, 75, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

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

.nav a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.nav a.is-active { color: var(--color-gold-light); }

.nav a.is-active::after,
.nav a:not(.nav__cta):hover::after {
  width: 100%;
}

.nav__cta {
  border: 1px solid var(--color-gold);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--color-gold-light) !important;
}

.nav__cta:hover {
  background: var(--color-gold);
  color: var(--color-bg) !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-gold-light);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 162, 75, 0.14), transparent 65%);
  animation: glow-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: 60px;
  opacity: 0.8;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero__logo {
  width: clamp(85px, 9vw, 115px);
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 30px rgba(201, 162, 75, 0.2));
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-text);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero__subtitle {
  color: var(--color-gold-light);
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #1a1408;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.25);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__inner {
  text-align: center;
}

.section__eyebrow {
  display: block;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 24px;
  color: var(--color-text);
}

.section__text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.section__title--left,
.section__text--left {
  text-align: left;
  margin-left: 0;
}

.about-grid__text .section__text--left {
  margin-bottom: 18px;
}

.section__text--quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold-light);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 75, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 780px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-grid__img {
    max-width: 280px;
    margin: 0 auto;
  }

  .section__title--left,
  .section__text--left {
    text-align: center;
    margin: 0 auto;
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.card {
  background: var(--color-surface);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.card h3 {
  font-family: var(--font-serif);
  color: var(--color-gold-light);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  text-align: left;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.contact-item__icon {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-item a:hover { color: var(--color-gold-light); }

.map {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.15);
}

/* Footer */
.footer {
  background: var(--color-bg-alt);
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
}

.footer__logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.footer p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer__copy {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 99;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* Banner */
.banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.15) 55%, transparent 100%);
  padding: 40px;
}

.banner__quote {
  max-width: 480px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-gold-light);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .banner { height: 320px; }
  .banner__overlay { padding: 24px; }
  .banner__quote { font-size: 1.05rem; }
}

/* WhatsApp icon (used in the float button, contact list and feature card) */
.icon-whatsapp {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}

.whatsapp-float .icon-whatsapp {
  width: 26px;
  height: 26px;
  fill: #1a1408;
}

.contact-item__icon .icon-whatsapp,
.feature__icon .icon-whatsapp {
  width: 20px;
  height: 20px;
  fill: var(--color-gold-light);
}

/* Formação */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 75, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.gallery__img:hover {
  transform: translateY(-4px);
}

.gallery__img--center {
  object-position: center 20%;
}

.gallery--flex {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery--results {
  grid-template-columns: repeat(3, 1fr);
}

.gallery--results .gallery__img {
  height: 280px;
  object-position: center 30%;
}

@media (max-width: 860px) {
  .gallery--results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery--results {
    grid-template-columns: 1fr;
  }
}

.gallery--single {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.gallery--single .gallery__img {
  height: 420px;
}

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

  .gallery__img {
    height: 260px;
  }
}

/* Diferenciais */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 48px;
  text-align: center;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(201, 162, 75, 0.25);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--font-serif);
  color: var(--color-gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 260px;
  margin: 0 auto;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__glow { animation: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map { min-height: 260px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(201, 162, 75, 0.15);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav__cta {
    margin-top: 8px;
    text-align: center;
  }

  .logo__text { display: none; }
}
