/* =============================================
   AURORA VEIL — DESIGN SYSTEM
   Hero escuro dramático · Corpo claro elegante
   ============================================= */

/* Font import moved to HTML for performance. font-display:swap is set via &display=swap in the Google Fonts URL. */

:root {
  /* ── Cores ── */
  --bg:          #FFFFFF;
  --bg-alt:      #F5F4F1;
  --bg-dark:     #0D1B2A;
  --surface:     #ECEAE5;

  --ink:         #0D1B2A;
  --ink-mid:     #3D4D5C;
  --ink-muted:   #7A8898;

  --accent:      #B8943A;
  --accent-hover:#9D7B2E;
  --accent-light: rgba(184,148,58,.1);
  --accent-border: rgba(184,148,58,.35);

  --border:      #E2DED8;
  --border-dark: rgba(255,255,255,.1);

  /* ── Tipografia ── */
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Layout ── */
  --max-w:    1140px;
  --px:       clamp(1.5rem, 5vw, 4rem);
  --nav-h:    90px;

  /* ── Motion ── */
  --ease: cubic-bezier(.4,0,.2,1);
  --t1: .25s;
  --t2: .5s;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink-mid);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; transition: color var(--t1) var(--ease); }
ul  { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ─── LAYOUT ─── */
.c {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

section { padding: clamp(5rem, 10vw, 8rem) 0; }

/* ─── TIPOGRAFIA ─── */
.label {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--ff);
}

.display {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -.02em;
  font-family: var(--ff-serif);
}

.display em {
  font-style: italic;
  color: var(--accent);
}

.heading {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  font-family: var(--ff-serif);
}

.heading em { font-style: italic; color: var(--accent); }

.subheading {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  font-family: var(--ff-serif);
}

.body-lg {
  font-size: clamp(.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 54ch;
  font-family: var(--ff);
}

.body-lg.wide { max-width: 68ch; }

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-family: var(--ff);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease),
              transform var(--t1) var(--ease), box-shadow var(--t1) var(--ease),
              border-color var(--t1) var(--ease);
  will-change: transform;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,148,58,.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost-inv {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost-inv:hover { border-color: var(--accent); color: var(--accent); }

/* ─── DIVIDER ─── */
.divider {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(13,27,42,.06);
  transition: box-shadow var(--t2) var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(13,27,42,.12);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo — só a imagem, MAIOR */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

/* Esconde QUALQUER texto ao lado da logo */
.logo-wordmark,
.logo span,
.logo p,
.logo div { display: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding-bottom: 2px;
  font-family: var(--ff);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--t1) var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: .25rem;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--t1) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.7px, 4.7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.7px, -4.7px); }

/* ─── MOBILE DRAWER ─── */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 800;
  pointer-events: none;
}
.mobile-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,42,.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t2) var(--ease);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(85%, 340px);
  height: 100%;
  background: var(--bg);
  border-left: 1.5px solid var(--border);
  padding: 6rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transform: translateX(100%);
  transition: transform var(--t2) var(--ease);
}
.mobile-drawer.open { pointer-events: all; }
.mobile-drawer.open .mobile-drawer-overlay { opacity: 1; }
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  display: block;
  font-family: var(--ff-serif);
}
.mobile-nav-link:hover { color: var(--accent); }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-dark);
  border-top: 1.5px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand .logo img {
  height: 64px;
}
.footer-brand p { font-size: .9375rem; line-height: 1.75; max-width: 34ch; color: rgba(255,255,255,.5); }

.footer-col h5 {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.5rem;
  font-family: var(--ff);
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.55); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.35); }

.social-row { display: flex; align-items: center; gap: 1rem; }
.social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--t1) var(--ease);
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); }

/* ─── ANIMAÇÕES ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── SEPARADOR ─── */
.hr { width: 100%; height: 1px; background: var(--border); }

/* ─── PAGE HERO (páginas internas) ─── */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--border);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links, .navbar .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
