:root {
  --gold: #b8862b;
  --gold-dark: #9c6d1e;
  --graphite: #2e2e2e;
  --graphite-deep: #242424;
  --gray: #d9d9d9;
  --muted: #6b6b6b;
  --off-white: #f7f7f7;
  --white: #ffffff;
  --line: #e8e8e8;
  --container: 960px;
  --narrow: 760px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(20, 20, 20, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { min-height: 44px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--graphite);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 40px, var(--narrow)); }
.section { padding: 96px 0; }
.section-tight { padding-top: 54px; padding-bottom: 54px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(232,232,232,.88);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 128px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  transition: color 180ms ease;
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--graphite-deep);
}
.nav-link.is-active {
  color: var(--graphite-deep);
  font-weight: 600;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  width: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--graphite);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(184, 134, 43, .16);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--gold-dark); box-shadow: 0 12px 28px rgba(184, 134, 43, .2); }
.button-small { min-height: 46px; padding-inline: 20px; }
.button-outline { background: transparent; color: var(--graphite); box-shadow: none; }
.button-outline:hover { background: var(--off-white); box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 60px;
}
.hero-inner { text-align: center; position: relative; z-index: 1; }
.x-watermark {
  position: absolute;
  right: calc(50% - 500px);
  top: 24px;
  font-size: 520px;
  line-height: .8;
  font-weight: 500;
  letter-spacing: -.08em;
  color: rgba(47,47,47,.028);
  user-select: none;
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 14px;
  color: #7a7a7a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
}
.eyebrow-light { color: #cfcfcf; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6.2vw, 72px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 600;
}
h1 span, h2 span { color: var(--gold); }
.hero-copy {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #5e5e5e;
  font-size: 17px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 58px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #808080;
  font-size: 10px;
  letter-spacing: .28em;
}
.hero-note-line { width: 1px; height: 22px; background: var(--gold); }
.hero-note-arrow { color: var(--gold); font-size: 18px; line-height: 1; }

.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 420px; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.story-media { margin: 0; min-height: 420px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.dark-card { background: var(--graphite); color: var(--white); }
.story-card { padding: 58px 52px; display: flex; flex-direction: column; justify-content: center; }
.story-card h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; }
.story-card p:last-child { max-width: 350px; color: #dadada; font-size: 15px; }

.section-heading { margin-bottom: 56px; }
.centered { text-align: center; }
.section-heading h2 { max-width: 680px; margin: 0 auto; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: 34px 34px 30px; position: relative; text-align: center; }
.pillar + .pillar::before { content:""; position:absolute; left:0; top:28px; bottom:28px; width:1px; background:var(--line); }
.icon { width: 50px; height: 50px; margin: 0 auto 18px; color: var(--gold); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: 5px; font-size: 18px; }
.pillar p { margin: 0 auto; max-width: 180px; color: var(--muted); font-size: 13px; }

.quote { background: var(--off-white); }
.quote-card {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  padding: 52px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-mark { font-size: 92px; line-height: .7; color: var(--gold); font-family: Georgia, serif; }
.quote-card h2 { margin: 0 0 18px; font-size: clamp(34px, 4.8vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.quote-copy { max-width: 610px; margin: 0; color: var(--muted); }

.closing { padding-top: 72px; padding-bottom: 72px; }
.closing-inner {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 52px;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.closing-inner::after { content:"X"; position:absolute; right:38px; bottom:-100px; color:rgba(255,255,255,.035); font-size:420px; line-height:1; pointer-events:none; }
.closing h2 { position: relative; z-index:1; margin:0; font-size: clamp(34px, 4.5vw, 54px); line-height:1.06; letter-spacing:-.04em; }
.closing .eyebrow { position:relative; z-index:1; }
.closing .button { position:relative; z-index:1; flex:0 0 auto; }


.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-brand img {
  width: 114px;
  height: auto;
}
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 500;
  min-height: auto;
  padding: 4px 0;
  transition: color 160ms ease;
}
.footer-nav a:hover {
  color: var(--gold);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a {
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 4px;
  border-radius: 4px;
  transition: color 160ms ease, transform 160ms ease;
}
.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}
.footer-social svg {
  display: block;
}
.footer-divider {
  display: block;
  width: 1px;
  height: 30px;
  background-color: var(--gray);
}
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}
.footer-copy p {
  margin: 0;
  white-space: nowrap;
}

:focus-visible { outline: 3px solid rgba(184,134,43,.5); outline-offset: 4px; }

@media (max-width: 860px) {
  .main-nav { gap: 18px; }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 36px 0;
  }
  .footer-nav {
    justify-content: center;
    gap: 20px;
  }
  .footer-right {
    flex-direction: column;
    gap: 16px;
  }
  .footer-divider {
    display: none;
  }
  .footer-copy {
    text-align: center;
  }
  .footer-copy p {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .container, .container.narrow { width:min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .section-tight { padding-top: 34px; padding-bottom: 34px; }
  .header-inner { min-height:72px; }
  .brand img { width:108px; }
  .menu-toggle { display:block; }
  .main-nav {
    position:absolute;
    left:14px; right:14px; top:68px;
    display:none;
    padding:14px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow);
  }
  .main-nav.is-open { display:flex; }
  .nav-link { padding:12px 10px; border-radius: 8px; }
  .nav-link::after { display:none; }
  .nav-link.is-active { color: var(--gold-dark); background: rgba(184, 134, 43, 0.08); font-weight: 600; }
  .button-small { width:100%; margin-top:4px; }
  .hero { padding-top: 68px; }
  .x-watermark { right:-90px; top:80px; font-size:390px; }
  .hero-copy { font-size:15px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .button { width:100%; }
  .story-grid { grid-template-columns:1fr; }
  .story-media { min-height:270px; }
  .story-card { padding:42px 30px 48px; }
  .pillars { grid-template-columns:1fr; }
  .pillar + .pillar::before { left:28px; right:28px; top:0; bottom:auto; width:auto; height:1px; }
  .pillar { padding:28px 22px; }
  .quote-card { grid-template-columns:1fr; padding:38px 28px; gap:0; }
  .quote-mark { margin-bottom:16px; font-size:72px; }
  .closing-inner { flex-direction:column; align-items:flex-start; padding:38px 28px; }
  .closing .button { width:100%; }
  .footer-inner { padding: 28px 0; gap: 20px; }
  .footer-nav { gap: 12px 18px; }
}

/* Barra sutil de cookies */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(0);
  width: min(calc(100% - 32px), 620px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transition: opacity 280ms ease, transform 280ms ease;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.cookie-content p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--graphite);
}

.cookie-actions {
  flex-shrink: 0;
}

.button-cookie {
  min-height: 38px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(184, 134, 43, 0.25);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-cookie:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 134, 43, 0.35);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 12px;
    padding: 16px 18px;
  }
  .cookie-actions {
    display: flex;
  }
  .button-cookie {
    width: 100%;
  }
}

/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  z-index: 85;
  border-radius: 50%;
  background: var(--white);
  color: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease, transform 240ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.back-to-top:hover {
  background: var(--graphite);
  color: var(--white);
  border-color: var(--graphite);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.back-to-top.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 18px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
