/* Plaza Global Partners — tokens from the brand: deep navy + metallic gold, Cinzel + Inter */
:root {
  --abyss: #050c18;
  --navy: #0a192f;
  --navy-2: #0f2042;
  --navy-3: #172a4d;
  --gold-dark: #a3803c;
  --gold: #c5a059;
  --gold-light: #dfb76c;
  --champagne: #f5e7c1;
  --paper: #f4efe4;
  --ink: #0a192f;
  --text: #e6e9ef;
  --mist: #9aa7bb;
  --line: rgba(223, 183, 108, .2);
  --line-soft: rgba(255, 255, 255, .08);
  --metal: linear-gradient(135deg, #f5e7c1 0%, #dfb76c 32%, #c5a059 68%, #a3803c 100%);

  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--abyss); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  transition: filter .2s, background-color .2s, border-color .2s, color .2s;
}
.btn--gold { background: var(--metal); color: var(--abyss); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.btn--gold:hover { filter: brightness(1.08); }
.btn--line { border-color: rgba(223,183,108,.5); color: var(--champagne); }
.btn--line:hover { border-color: var(--gold-light); background: rgba(223,183,108,.08); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(5,12,24,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand--sm img { height: 34px; }
.brand__name {
  font: 700 22px/1 var(--serif); letter-spacing: .12em;
  display: flex; flex-direction: column; align-items: center;
}
/* Metallic gold lettering, sampled from the logo artwork */
.brand__name, .brand__name small {
  background: linear-gradient(180deg, #f6e3a1 0%, #e2bd66 38%, #c99a3e 62%, #a77a2c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__name small {
  font: 600 10.5px/1 var(--serif); letter-spacing: .14em;
  margin-top: 5px;
}
.brand--sm .brand__name { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14px; color: #c6cedb; text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold-light); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 64px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(30,56,102,.55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(197,160,89,.08), transparent 70%),
    var(--abyss);
  overflow: hidden;
}
.hero { padding-bottom: clamp(110px, 13vw, 170px); }
.hero__grid { position: relative; z-index: 1; }

/* Nautical backdrop: portolan rhumb lines + golden sea echoing the logo */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.portolan { position: absolute; inset: 0; width: 100%; height: 100%; }
.portolan line { stroke: #dfb76c; stroke-width: .6; vector-effect: non-scaling-stroke; }
.portolan .wind-main { stroke-opacity: .16; }
.portolan .wind-half { stroke-opacity: .09; }
.portolan .wind-quarter { stroke-opacity: .05; stroke-dasharray: 2 6; }
.portolan .rose { fill: none; stroke: #dfb76c; stroke-opacity: .28; vector-effect: non-scaling-stroke; }
.portolan .rose-star { fill: #dfb76c; fill-opacity: .14; }
.portolan .chart-lat { stroke: #f5e7c1; stroke-opacity: .05; stroke-dasharray: 1 7; }
.hero__bg::after { /* vignette keeps the copy readable */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 22% 50%, rgba(5,12,24,.85), transparent 70%);
}

.sea { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 12vw, 160px); }
.sea__layer { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; animation: drift linear infinite; }
.sea__layer path { stroke-linecap: round; }
.sea__layer--back { height: 92%; animation-duration: 46s; opacity: .55; }
.sea__layer--back path { fill: url(#seaFillBack); stroke: rgba(223,183,108,.35); stroke-width: 1.2; }
.sea__layer--mid { height: 70%; animation-duration: 30s; animation-direction: reverse; }
.sea__layer--mid path { fill: rgba(8,20,40,.9); stroke: rgba(223,183,108,.55); stroke-width: 1.5; }
.sea__layer--front { height: 46%; animation-duration: 20s; }
.sea__layer--front path { fill: #050c18; stroke: url(#seaGold); stroke-width: 2.2; }
.sea__layer path { vector-effect: non-scaling-stroke; }
@keyframes drift { to { transform: translateX(-25%); } }

.ship {
  position: absolute; bottom: 62%; left: 0; width: clamp(64px, 6vw, 96px);
  animation: sail 90s linear infinite; opacity: .75;
}
.ship svg { width: 100%; animation: bob 5s ease-in-out infinite; transform-origin: 50% 80%; }
.ship path, .ship rect { fill: #c5a059; stroke: #c5a059; }
.ship path:first-child { fill: #dfb76c; }
@keyframes sail { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-4px) rotate(1.5deg); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero__place { font-size: 13px; color: var(--gold-light); letter-spacing: .04em; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.hero__title {
  font: 600 clamp(38px, 5.6vw, 72px)/1.08 var(--serif);
  letter-spacing: .01em;
  background: linear-gradient(170deg, #ffffff 0%, #f5e7c1 45%, #dfb76c 75%, #a3803c 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 13ch;
}
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); color: #c3cbd8; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__globe { margin: 0; position: relative; }
#globe { width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.routes { margin-top: -8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; justify-content: center; }
.routes__from { font-size: 13px; color: var(--mist); }
.routes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.routes button {
  font: 500 13px/1 var(--sans); color: #c6cedb; background: none;
  border: 1px solid transparent; border-radius: 99px; padding: 7px 12px; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.routes button:hover, .routes button[aria-pressed="true"] { color: var(--champagne); border-color: var(--line); background: rgba(223,183,108,.07); }

/* ---------- Statement ---------- */
.statement { background: var(--navy); border-block: 1px solid var(--line); }
.statement__in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; padding-block: clamp(48px, 7vw, 80px); align-items: center; }
.statement__text { font: 300 clamp(20px, 2.1vw, 27px)/1.5 var(--sans); color: var(--champagne); max-width: 42ch; letter-spacing: -.005em; }
.facts { margin: 0; display: grid; gap: 18px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.facts dt { color: var(--mist); font-size: 14px; }
.facts dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 640px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2, .about h2, .contact h2 { font: 600 clamp(30px, 3.6vw, 46px)/1.15 var(--serif); color: #fff; }
.head p { margin-top: 14px; color: var(--mist); font-size: 17px; }

/* ---------- Como funciona: a voyage with four ports of call ---------- */
.voyage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.voyage::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  opacity: .6;
}
.voyage li { position: relative; }
.voyage__n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--abyss); border: 1px solid var(--gold); color: var(--gold-light);
  font: 600 18px/1 var(--serif); position: relative; margin-bottom: 26px;
}
.voyage li:last-child .voyage__n { background: var(--metal); color: var(--abyss); border-color: transparent; }
.voyage h3 { font: 600 19px/1.3 var(--serif); color: #fff; margin-bottom: 10px; }
.voyage p { color: var(--mist); font-size: 15px; max-width: 30ch; }

/* ---------- Soluções ---------- */
.solutions { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.sol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.sol__group { padding-top: 28px; border-top: 1px solid var(--line); margin-bottom: 48px; }
.sol__title { font: 600 15px/1 var(--sans); color: var(--gold-light); letter-spacing: .02em; margin-bottom: 8px; }
.sol ul { list-style: none; margin: 0; padding: 0; }
.sol li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.sol li:last-child { border-bottom: 0; }
.sol svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.sol b { display: block; font: 600 20px/1.3 var(--serif); color: #fff; margin-bottom: 4px; }
.sol span { color: var(--mist); font-size: 15px; }

/* ---------- Sobre (light, paper-like) ---------- */
.about { background: var(--paper); color: #33405a; }
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about h2 { color: var(--ink); max-width: 16ch; margin-bottom: 32px; }
.about__story p { max-width: 60ch; margin-bottom: 18px; font-size: 17px; line-height: 1.75; }
.quote { margin: 0 0 40px; padding: 32px 0 0; border-top: 2px solid var(--gold); }
.quote p { font: 500 clamp(22px, 2.3vw, 28px)/1.4 var(--serif); color: var(--ink); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--gold-dark); font-weight: 600; }
.vision { background: var(--navy); color: #c3cbd8; padding: 28px 30px; border-radius: var(--r); }
.vision h3 { font: 600 18px/1.3 var(--serif); color: var(--champagne); margin-bottom: 10px; }
.vision p { font-size: 15px; }

/* ---------- Forms ---------- */
.forms { background: var(--abyss); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { max-width: 820px; margin: 0 auto; background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: inset 0 2px 0 var(--gold); padding: clamp(24px, 4vw, 44px); }
.form fieldset { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.form legend { font: 600 16px/1 var(--serif); color: var(--gold-light); margin-bottom: 18px; padding: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.f { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #c6cedb; font-weight: 500; }
.f--2 { grid-column: span 2; }
.f--4 { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: #fff;
  background: rgba(5,12,24,.55); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r);
  padding: 12px 14px; min-height: 46px; transition: border-color .2s, background-color .2s;
}
.f select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23dfb76c' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.f select option { background: var(--navy); }
.f textarea { resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: #5f6d84; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: rgba(223,183,108,.35); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold-light); background: rgba(5,12,24,.85); }
.f .is-invalid, .f [aria-invalid="true"] { border-color: #e07a6a; }
.f .err { color: #f0a597; font-size: 13px; font-weight: 400; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mist); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.consent a { color: var(--gold-light); }
.consent.is-invalid span { color: #f0a597; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.form__status { font-size: 14px; color: #f0a597; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Contato ---------- */
.contact { background: var(--navy); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact__lead { margin-top: 14px; color: var(--mist); font-size: 17px; }
.card-person { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: rgba(5,12,24,.4); }
.card-person__id { display: flex; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.monogram { width: 56px; height: 56px; border-radius: 50%; background: var(--metal); color: var(--abyss); display: grid; place-items: center; font: 700 19px/1 var(--serif); flex: none; }
.card-person__id b { display: block; font: 600 20px/1.3 var(--serif); color: #fff; }
.card-person__id span:not(.monogram) { font-size: 14px; color: var(--gold-light); }
.card-person__links { list-style: none; margin: 0; padding: 0; }
.card-person__links a, .card-person__links p {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: #fff; font-weight: 500; overflow-wrap: anywhere; text-align: right;
}
.card-person__links li:last-child > * { border-bottom: 0; padding-bottom: 0; }
.card-person__links span { color: var(--mist); font-weight: 400; text-align: left; flex: none; }
.card-person__links a:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer { background: var(--abyss); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__nav a { color: var(--mist); text-decoration: none; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__legal { font-size: 13px; color: #67748a; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer__credit a { color: var(--gold); font-weight: 600; text-decoration: none; }
.footer__credit a:hover { color: var(--gold-light); text-decoration: underline; }

/* ---------- WhatsApp float ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1f9d55; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(223,183,108,.4);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }

/* ---------- Confirmation dialog ---------- */
.done {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--navy-2); color: #c3cbd8;
  padding: 40px 36px 32px; max-width: 440px; width: calc(100% - 32px); text-align: center;
}
.done::backdrop { background: rgba(2,6,14,.75); backdrop-filter: blur(4px); }
.done[open] { animation: rise .35s cubic-bezier(.2,.8,.2,1); }
.done img { margin: 0 auto 18px; }
.done h2 { font: 600 24px/1.25 var(--serif); color: #fff; margin-bottom: 12px; }
.done__id { margin: 18px 0 26px; font-size: 14px; color: var(--mist); }
.done__id b { color: var(--champagne); font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-left: 6px; }
.done .btn { width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Legal page ---------- */
.legal { padding: 140px 0 var(--section); }
.legal__body { max-width: 72ch; }
.legal h1 { font: 600 clamp(32px, 4vw, 48px)/1.15 var(--serif); color: #fff; margin-bottom: 12px; }
.legal h2 { font: 600 24px/1.3 var(--serif); color: var(--champagne); margin: 48px 0 14px; }
.legal h3 { font: 600 17px/1.4 var(--sans); color: #fff; margin: 28px 0 8px; }
.legal p, .legal li { color: #c3cbd8; margin-bottom: 12px; }
.legal a { color: var(--gold-light); }
.legal__note { border-left: 2px solid var(--gold); padding: 12px 18px; background: rgba(223,183,108,.06); color: var(--champagne) !important; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { min-height: auto; padding-top: 112px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__globe { max-width: 560px; margin: 0 auto; width: 100%; }
  .statement__in { grid-template-columns: 1fr; gap: 36px; }
  .voyage { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .voyage::before { display: none; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  }
  .menu span { display: block; width: 20px; height: 1.5px; background: var(--champagne); transition: transform .25s; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,12,24,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav .btn { margin-top: 20px; min-height: 48px; }
  .topbar:has(.nav.is-open) { background: rgba(5,12,24,.97); }
  .sol { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand__name { font-size: 19px; }
  .brand img { height: 36px; }
  .hero__cta .btn { width: 100%; }
  .voyage { grid-template-columns: 1fr; row-gap: 0; }
  .voyage li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 32px; }
  .voyage li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 1px; background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .6; }
  .voyage__n { grid-row: span 2; margin-bottom: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .f--2 { grid-column: 1 / -1; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .card-person { padding: 22px; }
  .card-person__links a, .card-person__links p { flex-direction: column; gap: 2px; text-align: left; }
}

