/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #070c2d;
  --navy2:  #0d1340;
  --navy3:  #111840;
  --gold:   #B8962E;
  --gold-l: #D4AF5A;
  --white:  #FFFFFF;
  --stone:  #f4f4f6;
  --mid:    #6B6B6B;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: #111;
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 100px;
  background: rgba(7,12,45,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184,150,46,0.2);
  transition: height .3s;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  /* garante que a logo nunca ultrapasse a largura disponível */
  max-width: 40%;
}
.nav-brand img {
  height: 60px;
  width: auto;
  max-width: 100%;
  max-height: calc(100px - 32px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* nav e footer sempre escuros: mostra logo-white, esconde logo-black */
.nav-brand .logo-white  { display: block; }
.nav-brand .logo-black  { display: none; }

/* footer */
.footer-logo .logo-white { display: block; }
.footer-logo .logo-black { display: none; }

/* se precisar de logo escura em fundo claro no futuro: adicione classe .bg-light no pai */
.bg-light .nav-brand .logo-white { display: none; }
.bg-light .nav-brand .logo-black { display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: .55rem 1.2rem !important;
  border-radius: 2px;
  font-size: .76rem !important;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold-l) !important; color: var(--navy) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: .3s;
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 90px; left: 0; right: 0;
  background: rgba(7,12,45,0.99);
  border-top: 1px solid rgba(184,150,46,.15);
  z-index: 199;
  flex-direction: column;
  padding: 1.5rem 5% 2rem;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer .nav-cta {
  margin-top: .75rem;
  border-bottom: none !important;
  justify-content: center;
  padding: .85rem 1.5rem !important;
  border-radius: 2px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 100px;
  background: var(--navy);
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  padding-left: 5%;
  padding-right: 5%;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 5%;
  width: 60px; height: 2px;
  background: var(--gold);
}
.page-hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
  font-weight: 600;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.2;
}

/* ── GOLD RULE ── */
.gold-rule {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .2;
}

/* ── SECTION BASICS ── */
section { padding: 90px 5%; }
.section-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: #111;
  max-width: 560px;
}
.section-title.white { color: var(--white); }
.section-desc {
  font-size: .93rem;
  color: var(--mid);
  max-width: 540px;
  line-height: 1.85;
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--gold);
  color: var(--white);
  padding: .85rem 1.9rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-l); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: transparent;
  color: var(--white);
  padding: .85rem 1.9rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── CAROUSEL ── */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(184,150,46,.4);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.carousel-btn:hover { background: rgba(184,150,46,.15); border-color: var(--gold); }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(184,150,46,.3);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s; padding: 0;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.4); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(184,150,46,.15);
}
.footer-main {
  padding: 3.5rem 5% 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
  margin-bottom: .75rem;
  display: block;
}
.footer-logo small {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.footer-links-col h4 {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: .85rem; font-weight: 600;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links-col a { font-size: .83rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-links-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-copy {
  text-align: center;
  padding: 1.25rem 5%;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .72rem;
  color: rgba(255,255,255,.2);
  letter-spacing: .05em;
}

/* ── WPP FLOAT ── */
.wpp-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 199;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s;
}
.wpp-float:hover { transform: scale(1.08); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
  nav.main-nav { height: 72px; }
  .nav-drawer { top: 72px; }
  .nav-brand img { height: 44px; max-height: calc(72px - 24px); }
  .page-hero { padding-top: 72px; min-height: 180px; }
  section { padding: 60px 5%; }
  .footer-main { flex-direction: column; gap: 2rem; }
}
