/* ========================================
   DOM ANTÔNIO BARBEARIA — Shared Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@200;300;400;500&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

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

:root {
  --noir:       #080808;
  --deep:       #111111;
  --card:       #161616;
  --card2:      #1c1c1c;
  --gold:       #D4A24C;
  --gold-light: #E8C06A;
  --gold-dim:   #9B7435;
  --ivory:      #F5F0E8;
  --white:      #FAFAF8;
  --muted:      rgba(245,240,232,0.45);
  --subtle:     rgba(245,240,232,0.12);
  --border:     rgba(212,162,76,0.18);
  --border-s:   rgba(245,240,232,0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  transition: background 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
nav.solid {
  background: rgba(8,8,8,0.98);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 900;
  color: var(--gold); text-decoration: none;
  letter-spacing: 0.04em; line-height: 1;
  flex-shrink: 0;
}
.nav-logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.52rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}
.nav-center {
  display: flex; align-items: center; gap: 0;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-center a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.5rem 1.2rem;
  transition: color 0.25s ease;
  white-space: nowrap;
  position: relative;
}
.nav-center a::after {
  content: '';
  position: absolute; bottom: -2px; left: 1.2rem; right: 1.2rem;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-center a:hover { color: var(--ivory); }
.nav-center a:hover::after { transform: scaleX(1); }
.nav-center a.active { color: var(--gold); }
.nav-center a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold); color: var(--noir);
  padding: 0.55rem 1.4rem;
  font-size: 0.67rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger mobile */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 1.5px; background: var(--ivory);
  display: block; transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 400; padding: 1rem 0;
  border-bottom: 1px solid var(--border-s);
  transition: color 0.25s ease;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .m-cta {
  margin-top: 1rem; text-align: center;
  background: var(--gold); color: var(--noir);
  padding: 0.9rem; font-weight: 500; border: none;
}

/* ── PAGE HEADER (hero de cada página interna) ── */
.page-header {
  padding-top: 72px;
  min-height: 340px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(212,162,76,0.07) 0%, transparent 60%),
    linear-gradient(160deg, #0c0c0c 0%, #080808 100%);
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,162,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,162,76,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 100% at 0% 50%, black 20%, transparent 80%);
}
.page-header-line {
  position: absolute; left: 4rem; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,162,76,0.25) 40%, rgba(212,162,76,0.25) 80%, transparent);
}
.page-header-content {
  position: relative; z-index: 1;
  padding: 4rem 4rem 4rem 6rem;
}
.page-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; display: flex;
  align-items: center; gap: 0.75rem;
}
.page-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--gold); opacity: 0.6;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--ivory);
}
.page-title em { color: var(--gold); font-style: italic; }
.page-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-style: italic;
  color: var(--muted); margin-top: 1rem; max-width: 500px;
}

/* ── SECTION UTILS ── */
.section-label {
  font-size: 0.62rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold); opacity: 0.6;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.1; color: var(--ivory);
}
.section-heading em { color: var(--gold); font-style: italic; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--noir);
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%); transition: transform 0.4s ease;
}
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212,162,76,0.25); }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--ivory);
  padding: 0.85rem 2rem;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(245,240,232,0.18);
  transition: all 0.3s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── DIVIDER ── */
.gold-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  width: 56px; height: 56px; background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.3);
  transition: all 0.3s ease;
  animation: waPulse 4s ease-in-out infinite 4s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,0.45); }
.wa-float svg { width: 26px; height: 26px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,0.3); }
  50% { box-shadow: 0 8px 28px rgba(37,211,102,0.3), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--noir);
  border-top: 1px solid var(--border);
  padding: 5rem 4rem 2.5rem;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 900; color: var(--gold);
}
.footer-brand-tag {
  font-size: 0.58rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem;
}
.footer-brand-copy {
  font-family: var(--font-serif);
  font-size: 0.95rem; color: var(--muted); line-height: 1.8; font-weight: 300;
}
.footer-col-title {
  font-size: 0.6rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem; font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a, .footer-col ul li span {
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  font-weight: 300; transition: color 0.25s ease;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.7rem; color: var(--muted); font-weight: 300; }
.footer-social { display: flex; gap: 0.75rem; align-items: center; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255,255,255,0.04);
}
.footer-social a:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(255,255,255,0.08); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-center, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .page-header-content { padding: 3rem 1.5rem 3rem 2.5rem; }
  .page-header-line { left: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 0 0 2.5rem; }
  .site-footer { padding: 4rem 2rem 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
