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

:root {
  --bg: #111111;
  --accent: #d4af37;
  --accent-hover: #c9a84c;
  --text: #f0ede8;
  --text-muted: #a8a29b;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(212, 175, 55, 0.2);
  --spacing-section: 100px;
}

/* Fontes hospedadas localmente (assets/fonts) em vez do Google Fonts CDN:
   elimina a viagem extra até fonts.googleapis.com/fonts.gstatic.com, que em
   cache frio (ex: Ctrl+Shift+R) podia demorar mais que a janela do
   font-display e deixar a página presa na fonte de fallback (Georgia/Arial),
   com métricas diferentes o suficiente pra quebrar a quebra de linha/
   centralização do hero. */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/cormorant-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant-Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 95%;
  ascent-override: 90%;
  descent-override: 110%;
}

@font-face {
  font-family: 'Inter-Fallback';
  src: local('Arial'), local('Helvetica'), local('sans-serif');
  size-adjust: 100%;
  ascent-override: 100%;
  descent-override: 100%;
}

body {
  font-family: 'Inter', 'Inter-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 1001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant', 'Cormorant-Fallback', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #000000 !important; /* força preto no hover, specificity tava dando problema */
  transform: translateY(-2px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  transform: translateY(-5px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  font-family: 'Cormorant', 'Cormorant-Fallback', 'Georgia', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

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

.navbar-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 12px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 14px;
  justify-content: center;
}

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

.navbar-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 428px) {
  .navbar {
    transform: none !important;
  }

  .navbar.scrolled {
    transform: none !important;
  }
}
