/* ── GOOGLE FONTS ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── VARIÁVEIS ────────────────────────────────── */
:root {
  --navy:       #1a1508;
  --gold:       #d4a017;
  --gold-light: #e8b82a;
  --cream:      #fdf8e8;
  --white:      #fffef5;
  --grey:       #7a6f5a;
  --light-grey: #f0e8c8;
}
/* ── RESET ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── TIPOGRAFIA GLOBAL ────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 300;
  line-height: 1.15;
}

/* ── UTILITÁRIOS ──────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ── BOTÕES ───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(212,160,23,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid rgba(13,27,42,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--navy);
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(13,27,42,0.15);
}
.btn-outline--light {
  color: #1a1508; !important;
  border-color: rgba(26,21,8,0.4);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
}

.btn-outline--light:hover {
  color: #1a1508;
  border-color: #1a1508;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: scale(1.05);
}

.btn-outline--light:hover {
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}
/* ── NAVBAR ───────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(212,160,23,0.2);
  position: fixed;
  overflow: hidden;
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/azulejos.jpg');
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.82;
  z-index: 0;
}

nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1a1508 0%, rgba(45, 36, 13, 0.96) 10%, rgba(52, 41, 15, 0.88) 20%);
  z-index: 1;
  pointer-events: none;
}
nav > * {
  position: relative;
  z-index: 2;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand .brand-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-brand .brand-sub {
  font-size: 0.6rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: #060e17;
  color: rgba(255,255,255,0.4);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 12px;
}
footer a {
  color: var(--gold);
  transition: opacity var(--transition);
}
footer a:hover { opacity: 0.75; }

/* ── ANIMAÇÕES ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }

/* ── SCROLL REVEAL ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { flex-direction: column; text-align: center; padding: 24px 20px; }
}
/* ── WHATSAPP BUTTON ──────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.whatsapp-btn.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* Pulse animation */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-pulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--navy);
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-tooltip { display: none; }
}