:root {
  --bg: #001c27;
  --bg-2: #002631;
  --bg-3: #041c28;
  --sand: #ffffff;
  --muted: #e2e3e4;
  --accent: #e2e3e4;
  --accent-gold: #c9b896;
  --line: rgba(226, 227, 228, 0.18);
  --font-display: "Montserrat", "Manrope", system-ui, sans-serif;
  --font-body: "Montserrat", "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--sand);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #021018 100%);
  min-height: 100vh;
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem;
}
.skip:focus { left: 1rem; z-index: 99; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(0, 28, 39, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease, min-height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 20, 28, 0.96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 1rem;
  transition: min-height .3s ease;
}
.site-header.is-scrolled .header-inner { min-height: 64px; }
.site-header.is-scrolled .brand img { height: 36px; }
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  flex-shrink: 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: .08em; font-weight: 600;
  text-transform: uppercase;
}
.brand img { height: 42px; width: auto; transition: height .3s ease; }
.brand span { color: var(--accent-gold); font-weight: 500; }
.site-nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; flex: 1 1 auto; justify-content: flex-end; margin-right: .35rem; }
.site-nav a,
.site-nav__link {
  font: inherit;
  font-size: .86rem;
  color: var(--muted);
  transition: color .2s;
  font-weight: 500;
  letter-spacing: .02em;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.site-nav a:hover,
.site-nav__link:hover { color: var(--sand); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--sand);
  border: 1px solid var(--line);
  padding: .4rem .7rem;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(226,227,228,.45);
  background: rgba(255,255,255,.06);
}
.btn-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.2rem; border-radius: 2px;
  background: transparent;
  color: #fff !important; font-weight: 600; border: 2px solid var(--muted); cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  transition: .25s ease;
}
.btn:hover, .btn-cta:hover { background: var(--muted); color: var(--bg-2) !important; }
.btn-outline {
  background: transparent; color: var(--sand) !important;
  border: 2px solid var(--line); border-radius: 2px; padding: .65rem 1rem;
  text-transform: uppercase; letter-spacing: .06em; font-size: .82rem;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.btn-outline:hover { border-color: var(--muted); background: rgba(255,255,255,.04); }
/* .nav-toggle base definido acima — visível em todos os breakpoints (smart-nav) */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  letter-spacing: .04em;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.search-trigger:hover { color: #fff; border-color: rgba(226,227,228,.4); background: rgba(255,255,255,.06); }
.search-kbd {
  font-family: inherit;
  font-size: .68rem;
  padding: .1rem .35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent-gold);
  background: rgba(0,0,0,.25);
}
@media (max-width: 1100px) {
  .search-trigger__label, .search-kbd { display: none; }
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #001c27;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: url("/static/images/hero-yacht.jpg") center/cover no-repeat;
  z-index: 0;
}
/* YouTube cover 16:9 — preenche o hero sem caixa flutuante */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.2);
  pointer-events: none;
  z-index: 1;
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 20, 28, 0.72) 0%, rgba(0, 20, 28, 0.35) 42%, rgba(0, 20, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 20, 28, 0.25) 0%, rgba(0, 20, 28, 0.08) 45%, rgba(0, 12, 18, 0.88) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  padding: 5.5rem 0 4.5rem;
  max-width: 40rem;
}
.hero--video .hero-inner {
  max-width: 28rem;
}
.hero--video .hero-eyebrow { display: none; }
.hero--video h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
}
.hero-cta {
  min-width: 12rem;
  border-color: rgba(255,255,255,.85);
  background: transparent;
}
.hero-cta:hover {
  background: #fff;
  color: var(--bg) !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 720px) {
  .hero { min-height: min(78vh, 640px); }
  .hero-video { transform: translate(-50%, -50%) scale(1.35); }
}
.hero-eyebrow {
  margin: 0 0 .85rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 12ch;
  font-weight: 200;
  letter-spacing: -1px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.fleet-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.35rem 0;
}
.fleet-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: .5rem 0.75rem;
  align-items: end;
}
.fleet-item {
  display: grid;
  gap: .45rem;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .05em;
  font-weight: 600;
  padding: .35rem .15rem;
  border-radius: 2px;
  transition: color .2s ease, background .2s ease;
}
.fleet-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
}
.fleet-item img {
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
  transition: transform .25s ease;
}
.fleet-item__label { white-space: nowrap; }
.fleet-item:hover { color: #fff; background: rgba(255,255,255,.04); }
.fleet-item:hover img { transform: translateY(-3px); }

@media (max-width: 980px) {
  .fleet-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fleet-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { padding: 4rem 0 2.75rem; }
}

.section { padding: 4rem 0; }
.section h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .4rem; font-weight: 200; letter-spacing: -0.5px;
}
.section .lead { color: var(--muted); margin: 0 0 2rem; max-width: 40rem; }

.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .35s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(226,227,228,.45);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.card-media {
  aspect-ratio: 16/10;
  background-color: #0a1c24;
  background-image: linear-gradient(135deg, #0a1c24, #123038);
  background-size: cover;
  background-position: center;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.card-body { padding: 1rem 1.1rem 1.25rem; }
.card-body h3 { margin: 0 0 .35rem; font-size: 1.05rem; font-family: var(--font-display); font-weight: 500; }
.card-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.card-kicker {
  margin: 0 0 .35rem !important;
  font-size: .68rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-gold) !important;
  font-weight: 600;
}
.card.is-filtered-out { display: none; }

.prose { max-width: 820px; }
.prose :is(h1,h2,h3) { font-family: var(--font-display); font-weight: 300; color: #fff; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; font-size: 1.05rem; }
.prose img { border-radius: 2px; margin: 1rem 0; }
.prose a { border-bottom: 1px solid var(--muted); }
.article-hero {
  background: linear-gradient(135deg, #002631 0%, #001c27 100%);
  padding: 2.5rem 1.5rem; margin: 0 0 2rem; border: 1px solid var(--line);
}
.article-hero h1 { margin: 0 0 .6rem; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 200; }
.article-hero .lead { margin: 0; color: var(--muted); }

.page-hero { padding: 3rem 0 1rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; font-weight: 200; }
.page-hero .lead { color: var(--muted); margin: .75rem 0 0; max-width: 36rem; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; flex: 1 1 16rem; }
.section-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.4rem;
  padding: 0 .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  color: var(--accent-gold);
  font-weight: 600;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.empty-state { opacity: .85; }

.form { display: grid; gap: .9rem; max-width: 520px; }
.form label { display: grid; gap: .35rem; font-size: .9rem; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 2px;
  border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--sand);
}
.flashes { padding-top: 1rem; }
.flash { padding: .75rem 1rem; border-radius: 2px; margin-bottom: .5rem; }
.flash-success { background: rgba(46, 160, 90, .2); }
.flash-error { background: rgba(180, 50, 50, .25); }

.site-footer {
  margin-top: 3rem; border-top: 1px solid var(--line);
  background: rgba(0,0,0,.28); padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-grid h3 { margin: 0 0 .6rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-gold); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li, .footer-grid p { color: var(--muted); line-height: 1.6; font-size: .92rem; }
.footer-copy { margin-top: 2rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Busca rápida em páginas */
.quick-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.quick-search input[type="search"],
.quick-search select {
  flex: 1 1 14rem;
  min-width: 0;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  color: var(--sand);
  border-radius: 2px;
  font: inherit;
}
.quick-search input[type="search"]:focus,
.quick-search select:focus {
  outline: 1px solid rgba(201, 184, 150, .55);
  border-color: rgba(201, 184, 150, .45);
}
.quick-search__hint {
  font-size: .78rem;
  color: var(--accent-gold);
  letter-spacing: .04em;
  min-width: 6rem;
}
.quick-search__all {
  font-size: .78rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.quick-search__all:hover { color: #fff; border-color: var(--muted); }

/* Command palette */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: min(12vh, 6rem) 1rem 2rem;
  background: rgba(0, 10, 16, 0.72);
  backdrop-filter: blur(10px);
  animation: fadeIn .2s ease;
}
.search-overlay[hidden] { display: none !important; }
body.search-open { overflow: hidden; }
.search-dialog {
  width: min(640px, 100%);
  background: linear-gradient(180deg, #002631 0%, #001820 100%);
  border: 1px solid rgba(226,227,228,.22);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  animation: dialogRise .28s cubic-bezier(.22,1,.36,1);
}
.search-dialog__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.search-dialog__head input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  outline: none;
}
.search-dialog__close {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: .25rem .45rem;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
  border-radius: 2px;
}
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .7rem 1rem 0;
}
.search-chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .6rem;
  cursor: pointer;
  border-radius: 2px;
  transition: .2s ease;
}
.search-chip.is-active,
.search-chip:hover {
  color: #fff;
  border-color: rgba(201,184,150,.55);
  background: rgba(201,184,150,.08);
}
.search-results {
  max-height: min(48vh, 420px);
  overflow: auto;
  padding: .65rem .55rem .85rem;
}
.search-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .55rem .55rem;
  border: 1px solid transparent;
  color: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.search-item:hover,
.search-item.is-active {
  background: rgba(255,255,255,.05);
  border-color: rgba(226,227,228,.16);
}
.search-item__thumb {
  width: 52px;
  height: 36px;
  background: #123 center/cover no-repeat;
  border: 1px solid var(--line);
}
.search-item__thumb--empty { background: rgba(255,255,255,.04); }
.search-item__title {
  display: block;
  font-weight: 500;
  font-size: .92rem;
}
.search-item__sub {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-top: .15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 36ch;
}
.search-item__kind {
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.search-hint,
.search-empty {
  margin: .75rem .55rem;
  color: var(--muted);
  font-size: .9rem;
}
.search-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: center;
  padding: .65rem 1rem .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}
.search-dialog__foot kbd {
  display: inline-block;
  border: 1px solid var(--line);
  padding: .05rem .3rem;
  margin-right: .15rem;
  border-radius: 2px;
  font-family: inherit;
}
.search-dialog__foot a { color: var(--accent-gold); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dialogRise {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal], .search-overlay, .search-dialog, .card, .card-media, .hero-fallback,
  .smart-nav, .smart-nav__shell, .smart-nav__rail, .smart-nav__stage, .smart-faixa,
  .smart-focus__figure img, .smart-atelier__focus {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 860px) {
  /* Top nav some no mobile: Menu abre o atelier inteligente */
  .site-nav { display: none; }
  .fleet-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .header-actions { margin-left: 0; }
}

/* ── Boat gallery premium ─────────────────────────────────────────── */
.boat-hero {
  padding: 2.25rem 0 1rem;
}
.boat-hero__grid {
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: end;
}
.boat-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 .85rem;
  letter-spacing: -1px;
  line-height: 1.05;
}
.boat-hero__lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.35rem;
}
.boat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.boat-stage {
  display: grid;
  gap: .75rem;
}
.boat-stage__main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #021018;
  cursor: zoom-in;
  overflow: hidden;
  isolation: isolate;
}
.boat-stage__main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.boat-stage__main:hover img { transform: scale(1.035); }
.boat-stage__main img.is-swap {
  animation: galleryFade .45s ease;
}
@keyframes galleryFade {
  from { opacity: .35; transform: scale(1.02); }
  to { opacity: 1; transform: none; }
}
.boat-stage__zoom {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  background: rgba(0, 16, 24, 0.72);
  border: 1px solid rgba(226,227,228,.28);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
}
.boat-stage__main:hover .boat-stage__zoom,
.boat-stage__main:focus-visible .boat-stage__zoom {
  opacity: 1;
  transform: none;
}
.boat-stage__count {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-align: right;
}
.boat-thumbs {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .45rem;
  align-items: center;
}
.boat-thumbs__track {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: .15rem 0;
}
.boat-thumbs__nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.boat-thumbs__nav:hover { background: rgba(255,255,255,.08); }
.boat-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 52px;
  border: 1px solid transparent;
  background: #123 center/cover no-repeat;
  cursor: pointer;
  scroll-snap-align: center;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.boat-thumb:hover { opacity: 1; transform: translateY(-1px); }
.boat-thumb.is-active {
  opacity: 1;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(201,184,150,.35);
}
.boat-body .boat-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.boat-body .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: .92rem;
}
.boat-body .prose table td {
  padding: .65rem .5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.boat-body .prose table td:first-child {
  color: #fff;
  width: 48%;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 14, 0.88);
  backdrop-filter: blur(12px);
}
.lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  max-height: min(90vh, 900px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  transform: scale(.985) translateY(8px);
  transition: opacity .22s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
.lightbox.is-open .lightbox__frame {
  opacity: 1;
  transform: none;
}
body.lightbox-open { overflow: hidden; }
.lightbox__figure {
  margin: 0;
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(226,227,228,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  background: #000;
}
.lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .75rem;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
}
.lightbox__nav,
.lightbox__close {
  border: 1px solid var(--line);
  background: rgba(0, 28, 39, 0.75);
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.lightbox__nav {
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
  border-radius: 2px;
}
.lightbox__nav:hover,
.lightbox__close:hover { background: rgba(255,255,255,.08); }
.lightbox__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  padding: .35rem .55rem;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .boat-hero__grid { grid-template-columns: 1fr; }
  .boat-hero__copy { order: 1; }
  .boat-stage { order: 0; }
  .lightbox__nav { display: none; }
  .lightbox__frame { grid-template-columns: 1fr; }
  .lightbox__close { top: .5rem; right: .5rem; z-index: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .boat-stage__main img,
  .lightbox__frame,
  .boat-thumb { transition: none !important; animation: none !important; }
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.wa-float__bubble {
  background: #fff;
  color: #1a1a1a;
  padding: .65rem .9rem;
  border-radius: 4px;
  font-size: .82rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  max-width: 14rem;
  line-height: 1.35;
}
.wa-float__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .25s ease;
}
.wa-float:hover .wa-float__icon { transform: scale(1.06); }
@media (max-width: 640px) {
  .wa-float__bubble { display: none; }
}

/* ==========================================================================
   Smart Nav — atelier de faixas de proa (Barcos Novos)
   Overlay imersivo: rail escuro + painel pérola com silhuetas e focus stage.
   ========================================================================== */
body.smart-nav-open {
  overflow: hidden;
}
.smart-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: stretch;
  background: rgba(0, 10, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.smart-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.smart-nav__shell {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  transform: translateX(-18px);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.smart-nav.is-open .smart-nav__shell {
  transform: none;
}

/* Rail esquerdo */
.smart-nav__rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.6rem 1.15rem 1.4rem;
  background:
    linear-gradient(165deg, #021820 0%, #001c27 48%, #031018 100%);
  border-right: 1px solid rgba(226, 227, 228, 0.1);
  overflow: auto;
}
.smart-nav__rail-eyebrow {
  margin: 0 0 .35rem;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 500;
}
.smart-nav__menu {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.smart-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .85rem .95rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}
.smart-nav__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.smart-nav__item.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
}
.smart-nav__chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex-shrink: 0;
}
.smart-nav__rail-cta {
  display: inline-flex;
  margin-top: auto;
  padding: .7rem .2rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-top: 1px solid rgba(226, 227, 228, 0.12);
  padding-top: 1rem;
  transition: color .2s ease;
}
.smart-nav__rail-cta:hover { color: #fff; }

/* Stage direito */
.smart-nav__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(201, 184, 150, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfaf7 0%, #f3f0ea 100%);
  color: #152028;
  overflow: hidden;
}
.smart-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 32, 40, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.smart-nav__close:hover {
  background: #fff;
  transform: rotate(90deg);
}
.smart-nav__close span,
.smart-nav__close span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: #152028;
}
.smart-nav__close span { transform: translate(-50%, -50%) rotate(45deg); }
.smart-nav__close span::before { transform: rotate(-90deg); }

.smart-nav__panel {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.75rem 1.75rem 1.25rem;
  opacity: 0;
  transform: translateY(12px);
}
.smart-nav__panel.is-active {
  display: flex;
  animation: smartPanelIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes smartPanelIn {
  to { opacity: 1; transform: none; }
}
.smart-nav__panel-head {
  max-width: 36rem;
  margin-bottom: 1.25rem;
  padding-right: 3rem;
}
.smart-nav__panel-head--solo {
  margin: auto 0;
  max-width: 28rem;
}
.smart-nav__kicker {
  margin: 0 0 .45rem;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a7a5c;
  font-weight: 600;
}
.smart-nav__title {
  margin: 0 0 .55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0d1a22;
  line-height: 1.15;
}
.smart-nav__lead {
  margin: 0 0 1.1rem;
  color: #4a5560;
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 400;
}
.smart-nav__panel-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(21, 32, 40, 0.08);
}
.smart-nav__panel-foot a {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1a2a34;
  transition: color .2s ease;
}
.smart-nav__panel-foot a:hover { color: #8a7a5c; }
.smart-nav__stage .btn {
  color: #0d1a22 !important;
  border-color: rgba(13, 26, 34, 0.75);
}
.smart-nav__stage .btn:hover {
  background: #0d1a22;
  color: #fff !important;
}

/* Atelier: lista de faixas + focus stage */
.smart-atelier {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem 1.75rem;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.smart-atelier__faixas {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  overflow: auto;
  padding-right: .35rem;
  mask-image: linear-gradient(180deg, #000 92%, transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 32, 40, 0.25) transparent;
}
.smart-faixa {
  --faixa-i: 0;
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .75rem 1rem;
  padding: .7rem .85rem;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateX(-24px);
  transition:
    background .3s ease,
    box-shadow .3s ease,
    opacity .5s cubic-bezier(.22, 1, .36, 1),
    transform .5s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--faixa-i) * 45ms + 80ms);
}
.smart-nav.is-open .smart-faixa {
  opacity: 1;
  transform: none;
}
.smart-faixa:hover,
.smart-faixa.is-active {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(15, 30, 40, 0.08);
}
.smart-faixa.is-active {
  outline: 1px solid rgba(201, 184, 150, 0.55);
}
.smart-atelier.is-dimming .smart-faixa:not(.is-active) {
  opacity: .42;
}
.smart-faixa__index {
  font-size: .68rem;
  letter-spacing: .12em;
  font-weight: 600;
  color: #9aa3ab;
}
.smart-faixa.is-active .smart-faixa__index { color: #8a7a5c; }
.smart-faixa__prow {
  display: flex;
  align-items: center;
  min-height: 42px;
  overflow: visible;
}
.smart-faixa__prow img {
  width: 100%;
  max-width: 340px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  /* Ícones brancos → silhueta escura premium no painel claro */
  filter: brightness(0) saturate(100%) opacity(0.82);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}
.smart-faixa:hover .smart-faixa__prow img,
.smart-faixa.is-active .smart-faixa__prow img {
  transform: translateX(6px) scale(1.04);
  filter: brightness(0) saturate(100%) opacity(1);
}
.smart-faixa__meta {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 5.5rem;
}
.smart-faixa__label {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0d1a22;
}
.smart-faixa__hint {
  font-size: .68rem;
  color: #7a858e;
  letter-spacing: .02em;
  white-space: nowrap;
}
.smart-faixa__arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #9aa3ab;
  border-top: 1.5px solid #9aa3ab;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.smart-faixa:hover .smart-faixa__arrow,
.smart-faixa.is-active .smart-faixa__arrow {
  opacity: 1;
  transform: rotate(45deg) translate(2px, -2px);
}

/* Focus stage cinematográfico */
.smart-atelier__focus {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 2px;
  background:
    linear-gradient(160deg, #06202c 0%, #001820 55%, #04141c 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.smart-focus__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 55%;
  background: radial-gradient(circle, rgba(201, 184, 150, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.smart-focus__waterline {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  z-index: 1;
  pointer-events: none;
}
.smart-focus__figure {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 12%;
  bottom: 38%;
  margin: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}
.smart-focus__figure img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  transition: opacity .35s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.02);
}
.smart-focus__figure img.is-switching {
  opacity: 0;
  transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + 10px), 0) scale(0.96);
}
.smart-focus__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.smart-focus__index {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--accent-gold);
  font-weight: 600;
}
.smart-focus__label {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.1;
}
.smart-focus__tagline {
  margin: 0 0 .7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: .9rem;
}
.smart-focus__cta {
  display: inline-flex;
  align-self: flex-start;
  padding: .7rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.smart-focus__cta:hover {
  background: #fff;
  color: #001c27;
  border-color: #fff;
}

@media (max-width: 980px) {
  .smart-atelier {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(240px, 38vh);
  }
  .smart-atelier__focus {
    order: -1;
    min-height: 240px;
  }
  .smart-faixa__hint { display: none; }
  .smart-faixa {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
  }
  .smart-faixa__arrow { display: none; }
}
@media (max-width: 720px) {
  .smart-nav__shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .smart-nav__rail {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .65rem;
    padding: .85rem .9rem;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 227, 228, 0.1);
  }
  .smart-nav__rail-eyebrow,
  .smart-nav__rail-cta { display: none; }
  .smart-nav__menu {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .35rem;
  }
  .smart-nav__item {
    flex: 0 0 auto;
    padding: .55rem .7rem;
    font-size: .78rem;
    white-space: nowrap;
  }
  .smart-nav__chev { display: none; }
  .smart-nav__panel { padding: 1.25rem 1rem 1rem; }
  .smart-nav__title { font-size: 1.35rem; }
  .smart-faixa__prow img { max-height: 40px; }
}
