:root {
  --gold: #c9a24d;
  --gold-dark: #a88432;
  --stone: #f3f0ea;
  --stone-dark: #e6e2da;
  --ink: #1a1a1a;
  --muted: #6f6f6f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ESTRUTURA BASE PARA FOOTER FIXO NO FINAL ===== */

html {
  height: 100%;
}

body {
  font-family: 'Cinzel', sans-serif;
  background: var(--stone);
  color: var(--gold);
  line-height: 1.6;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* IMPORTANTE */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* HEADER */

header {
  background: var(--stone-dark);
  border-bottom: 0
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 5px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 220px;
}

nav a {
  margin-left: 32px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--ink);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ================= CONTATO ================= */

.contact {
  text-align: center;
  background: var(--stone);
}

.contact-section { 
  margin: auto;
  margin-top: 30px;
  text-align: center;
}

.contact h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto 0 auto;
}

.contact-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.contact-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  margin-bottom: 15px;
}

.contact-card a {
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: var(--ink);
  transition: 0.3s;
}

.contact-card a:hover {
  color: var(--gold);
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--stone-dark);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;

  /* ESSENCIAL PARA COLAR NO FINAL */
  margin-top: auto;
}

.footer-content {
  font-family: 'Cinzel', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.site-footer a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.site-footer a:hover {
  color: var(--gold);
}

/* ================= RESPONSIVO ================= */

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}