:root {
  --color-cream: #faf6ee;
  --color-cream-dark: #f1e9d8;
  --color-ink: #241d18;
  --color-ink-soft: #4a4038;
  --color-red: #7c1f24;
  --color-red-dark: #5c1519;
  --color-navy: #1c2440;
  --color-gold: #c9a24a;
  --color-gold-soft: #e4cd94;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --container-w: 1160px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.5rem; color: var(--color-red-dark); }
h4 { font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--color-red-dark); margin-bottom: .3em; }

p { margin: 0 0 1em; color: var(--color-ink-soft); }

a { color: var(--color-red); text-decoration: none; }
a:hover { color: var(--color-red-dark); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--color-gold);
  font-weight: 600;
  margin: 0 0 .6em;
}
.eyebrow.center, h2.center, .section-intro.center { text-align: center; }
.section-intro { max-width: 640px; margin: 0 auto 3rem; color: var(--color-ink-soft); }
.section-intro.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--color-red); color: #fff; }
.btn-primary:hover { background: var(--color-red-dark); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Top bar */
.topbar {
  background: var(--color-navy);
  color: #cfd3e2;
  font-size: .82rem;
}
.topbar-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar a { color: #e9e2c9; }
.topbar-sep { opacity: .4; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--color-gold-soft);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-navy);
  letter-spacing: .02em;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-ink);
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-red); }
.btn-nav {
  background: var(--color-red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}
.btn-nav:hover { background: var(--color-red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,36,64,.55) 0%, rgba(28,20,18,.72) 60%, rgba(20,14,12,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .eyebrow { color: var(--color-gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  margin-bottom: .1em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #f1e9d8;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Historia */
.historia { padding: 100px 0; }
.historia-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
}
.historia-media img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(28,20,18,.4);
  position: sticky;
  top: 110px;
}
.significado {
  margin-top: 2.5rem;
  padding: 28px 30px;
  background: var(--color-cream-dark);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
}
.significado h3 { margin-top: 0; }
.significado p { margin-bottom: 0; }

/* Servicos */
.servicos {
  padding: 100px 0;
  background: var(--color-navy);
  background: linear-gradient(180deg, var(--color-cream-dark), var(--color-cream) 12%);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(28,20,18,.35);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -20px rgba(28,20,18,.45);
}
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body p { font-size: .95rem; flex: 1; }
.card-link { font-weight: 600; font-size: .9rem; }

/* Galeria */
.galeria { padding: 100px 0 0; }
.galeria .container { margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 6px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28,20,18,0);
  transition: background .25s ease;
}
.gallery-item:hover::after { background: rgba(28,20,18,.12); }
.gallery-item:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 11, 9, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 22px; right: 22px; font-size: 1.8rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 640px) {
  .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* Contato */
.contato { padding: 100px 0; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.info-block { margin-bottom: 2rem; }
.info-block p { margin-bottom: .4em; }
.contato-map {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -22px rgba(28,20,18,.4);
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #cfd3e2;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; }
.site-footer p { color: #aeb4c9; margin: 0; font-size: .85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #dfe2ee; font-size: .88rem; }
.footer-links a:hover { color: var(--color-gold-soft); }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  z-index: 60;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 980px) {
  .historia-grid { grid-template-columns: 1fr; }
  .historia-media img { position: static; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .contato-map { min-height: 340px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item.span-2 { grid-column: span 1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; }
  .btn-nav { display: inline-block; margin-top: 6px; }
  .topbar-inner { font-size: .74rem; }
  .hero { min-height: 92vh; }
  .cards-grid { grid-template-columns: 1fr; }
  .historia, .servicos, .galeria, .contato { padding: 64px 0; }
}
