/* ==========================================================================
   ALÉM DO HORIZONTE
   Conceito: papel kraft e azul-marinho de carta náutica, separados por ondas e
   cortes em V. Tipografia editorial (Cormorant + Jost), movimento guiado pelo scroll.
   ========================================================================== */

:root {
  --kraft-light: #d6c5ad;
  --kraft: #cbb799;
  --kraft-dark: #c3ad8e;
  --kraft-shadow: #b39b7a;
  --kraft-text: #433628;
  --kraft-title: #1a2a3a;

  --navy-darkest: #09131d;
  --navy-deep: #0d1d2d;
  --navy: #122538;
  --navy-light: #1b3652;
  --navy-accent: #25476a;
  --navy-text: #c5d7e6;

  --brown: #8a6a43;
  --brown-hover: #9c7b52;
  --ivory: #f6f2ea;

  --line-navy: rgba(214, 197, 173, 0.22);
  --line-kraft: rgba(67, 54, 40, 0.22);

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --header-h: 84px;
  --wave-h: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--kraft-text);
  background: var(--navy-darkest);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
address { font-style: normal; }
figure { margin: 0; }

:focus-visible { outline: 1px solid var(--kraft-light); outline-offset: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 20px;
}
.eyebrow-light { color: var(--kraft); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--kraft-title);
  margin-bottom: 28px;
  text-wrap: balance;
}
.section-title em, .corporate-title em, .hero-title em { font-style: italic; font-weight: 300; color: var(--brown); }

.lead { font-size: 1.0625rem; line-height: 1.85; max-width: 54ch; }
.section-sub { color: var(--navy-text); margin-top: -8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.btn-sand { background: var(--kraft-light); color: var(--navy); }
.btn-sand:hover { background: #fff; }
.btn-brown, .btn-navy { background: var(--navy); color: var(--ivory); }
.btn-brown:hover, .btn-navy:hover { background: var(--brown); }
.btn-ghost { border-color: rgba(246, 242, 234, 0.75); color: var(--ivory); background: rgba(6, 15, 25, 0.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-outline { border-color: rgba(214, 197, 173, 0.7); color: var(--ivory); padding: 12px 26px; }
.btn-outline:hover { background: var(--kraft-light); color: var(--navy); border-color: var(--kraft-light); }
.btn-block { width: 100%; }

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--brown), var(--kraft-light));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -30px 0;
  background: linear-gradient(to bottom, rgba(6, 14, 24, 0.55), transparent);
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 29, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--ivory); }
.brand-anchor { width: 26px; height: 26px; fill: var(--kraft-light); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-tag { font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--kraft); margin-top: 3px; }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 8px 0;
  transition: color 0.4s var(--ease);
}
.main-nav li a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1px;
  background: var(--kraft-light);
  transition: right 0.5s var(--ease);
}
.main-nav li a:hover::after, .main-nav li a.active::after { right: 0; }
.main-nav li a.active { color: var(--kraft-light); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ivory); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   ONDAS (animadas, em loop contínuo)
   ========================================================================== */
.waves {
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: calc(var(--wave-h) * 1.35);
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.waves-up { bottom: auto; top: -1px; }
.waves-down { height: var(--wave-h); }
.wave { position: absolute; inset: 0; will-change: transform; }
.wave svg { display: block; width: 200%; height: 100%; animation: drift 34s linear infinite; }
.wave path { fill: currentColor; }
@keyframes drift { to { transform: translateX(-50%); } }

.wave-1 { color: rgba(24, 52, 78, 0.65); }
.wave-1 svg { animation-duration: 40s; }
.wave-2 { color: rgba(185, 162, 130, 0.9); }
.wave-2 svg { animation-duration: 30s; animation-direction: reverse; }
.wave-3 { color: #c8b496; } /* kraft já com a média do grão de papel */
.wave-3 svg { animation-duration: 24s; }

.wave-navy-back { color: var(--navy-light); opacity: 0.7; }
.wave-navy-back svg { animation-duration: 36s; animation-direction: reverse; }
.wave-navy { color: var(--navy); }
.wave-navy svg { animation-duration: 28s; }

.wave-kraftdark { color: #c0ab8b; }
.wave-kraftdark svg { animation-duration: 30s; }
.wave-footer { color: var(--navy-darkest); }
.wave-footer svg { animation-duration: 32s; animation-direction: reverse; }

/* ==========================================================================
   HERO: o vídeo preenche a tela inteira; as ondas sobem quando o scroll começa
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--navy-darkest); overflow: hidden; }
.hero-media { position: absolute; inset: 0; transform-origin: 50% 100%; transform: scale(1.06); will-change: transform; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 62% at 14% 88%, rgba(6, 15, 25, 0.82), rgba(6, 15, 25, 0.5) 52%, transparent 100%),
    linear-gradient(to top, rgba(6, 15, 25, 0.82) 0%, rgba(6, 15, 25, 0.5) 30%, rgba(6, 15, 25, 0.1) 62%, rgba(6, 15, 25, 0.12) 100%),
    linear-gradient(to right, rgba(6, 15, 25, 0.35), transparent 62%);
}

.hero-stage { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px 112px;
  color: var(--ivory);
  will-change: transform, opacity;
}
.hero-eyebrow { color: #ecdcc2; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 22px rgba(0, 0, 0, 0.7); }
.hero-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 20px; }
.hero-title { font-weight: 400; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), 0 6px 40px rgba(0, 0, 0, 0.55); }
.hero-title em { color: #ecdcc2; font-weight: 400; }
.hero-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em 0; margin-bottom: -0.14em; }
.hero-sub { max-width: 46ch; font-size: 1.14rem; font-weight: 400; color: #fbf8f2; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 3px 26px rgba(0, 0, 0, 0.65); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-in { opacity: 0; animation: fade-up 1.1s var(--ease) var(--d, 0s) forwards; }
.hero-line .hero-in { display: inline-block; opacity: 1; transform: translateY(108%); animation-name: rise; }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }

/* as ondas ficam abaixo da dobra e sobem assim que a pessoa rola */
.waves-hero { transform: translateY(104%); transition: transform 1.3s var(--ease); }
.hero.scrolled .waves-hero { transform: none; }

.video-toggle { position: absolute; z-index: 4; left: 40px; bottom: 30px; width: 40px; height: 40px; border: 1px solid rgba(246, 242, 234, 0.55); border-radius: 50%; display: grid; place-items: center; color: var(--ivory); background: rgba(9, 19, 29, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.video-toggle:hover { background: var(--kraft-light); color: var(--navy); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-toggle .ico-play { display: none; }
.video-toggle.paused .ico-pause { display: none; }
.video-toggle.paused .ico-play { display: block; }

/* indicador de scroll: mouse com roda + setas em cascata */
.scroll-down { position: absolute; z-index: 4; left: 50%; bottom: 26px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ivory); animation: fade-up 1.2s var(--ease) 1.6s both; }
.sd-label { font-weight: 500; font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.sd-mouse { position: relative; width: 26px; height: 42px; border: 1.5px solid rgba(246, 242, 234, 0.9); border-radius: 14px; box-shadow: 0 0 24px rgba(9, 19, 29, 0.35); transition: border-color 0.4s; }
.sd-mouse i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--kraft-light); animation: wheel 1.9s var(--ease) infinite; }
.sd-chevrons { display: flex; flex-direction: column; align-items: center; margin-top: -2px; }
.sd-chevrons i { display: block; width: 9px; height: 9px; border-right: 1.5px solid var(--kraft-light); border-bottom: 1.5px solid var(--kraft-light); transform: rotate(45deg); margin-top: -3px; opacity: 0; animation: chev 1.9s var(--ease) infinite; }
.sd-chevrons i:nth-child(2) { animation-delay: 0.25s; }
.scroll-down:hover .sd-mouse { border-color: var(--kraft-light); }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes chev { 0% { opacity: 0; transform: translateY(-4px) rotate(45deg); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px) rotate(45deg); } }

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }

/* papel kraft com grão sutil */
.section-kraft, .section-kraft-dark { isolation: isolate; }
.section-kraft::before, .section-kraft-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.27  0 0 0 0 0.21  0 0 0 0 0.15  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  pointer-events: none;
}
.section-kraft { background: var(--kraft); padding-bottom: calc(var(--wave-h) + clamp(24px, 4vw, 60px)); }
.section-kraft-dark { background: var(--kraft-dark); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(100px, 14vw, 200px); }

.section-kraft-dark .eyebrow, .section-kraft .eyebrow { color: var(--brown); }

/* zona azul-marinho (Experiência + Pacotes) */
.navy-zone { position: relative; background: var(--navy); color: var(--ivory); isolation: isolate; }
.navy-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 38%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 8%, #000 38%, #000 100%);
}
.navy-bg img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: 0.2; filter: blur(3px) saturate(0.8); }
.navy-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 37, 56, 0.2), rgba(13, 29, 45, 0.75)); }

.section-navy { padding-top: calc(var(--wave-h) * 0.6 + clamp(40px, 6vw, 90px)); }
.section-navy .section-title, .section-packages .section-title { color: var(--ivory); }
.section-navy .section-title em, .section-packages .section-title em { color: var(--kraft-light); }
.section-navy .lead { color: var(--navy-text); }
.section-packages { padding-top: clamp(40px, 6vw, 80px); padding-bottom: calc(clamp(60px, 8vw, 120px) + clamp(60px, 8vw, 120px)); }

/* blueprint desenhado pelo scroll */
.blueprint { position: absolute; left: -36px; top: calc(var(--wave-h) * 0.6 + 20px); width: 320px; color: rgba(197, 215, 230, 0.4); pointer-events: none; }
.blueprint svg { width: 100%; height: auto; display: block; overflow: visible; }
.js .blueprint path, .js .blueprint circle { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }

/* chevron (corte em V) */
.chevron { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 8.5vw, 130px); z-index: 3; pointer-events: none; }
.chevron svg { display: block; width: 100%; height: 100%; }

/* ---------- Sobre ---------- */
.anchor-decor { position: absolute; left: -24px; top: 12%; width: clamp(96px, 10vw, 150px); color: rgba(126, 102, 72, 0.4); pointer-events: none; will-change: transform; }
.anchor-decor svg { width: 100%; height: auto; display: block; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.facts { display: flex; gap: 44px; margin: 40px 0 44px; padding: 28px 0; border-top: 1px solid var(--line-kraft); border-bottom: 1px solid var(--line-kraft); }
.facts li { display: flex; flex-direction: column; line-height: 1.35; }
.facts strong { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; color: var(--kraft-title); font-variant-numeric: lining-nums tabular-nums; }
.facts span:not([data-count]) { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* composição de fotos + selo giratório (profundidade pelo mouse) */
.about-media { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 1 / 1.04; }
.about-media [data-depth] { transition: transform 0.7s var(--ease); will-change: transform; }
.about-main { position: absolute; top: 0; right: 0; width: 74%; height: 86%; border-radius: 4px; overflow: hidden; box-shadow: 0 28px 60px rgba(40, 28, 14, 0.35); }
.about-main .img-clip { height: 100%; }
.about-second { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; border: 6px solid var(--kraft); border-radius: 4px; overflow: hidden; box-shadow: 0 22px 44px rgba(40, 28, 14, 0.3); }
.about-second img { width: 100%; height: 100%; object-fit: cover; }
.about-note { position: absolute; left: 0; top: 3%; width: 26%; padding-top: 14px; border-top: 1px solid var(--brown); font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; font-weight: 500; line-height: 1.25; color: #5e4527; }

.seal { position: absolute; right: 8%; bottom: 3%; width: 28%; aspect-ratio: 1; filter: drop-shadow(0 14px 28px rgba(9, 19, 29, 0.4)); }
.seal-scroll { position: absolute; inset: 0; transform: rotate(var(--rot, 0deg)); }
.seal-svg { width: 100%; height: 100%; display: block; animation: spin 36s linear infinite; }
.seal-bg { fill: var(--navy); }
.seal-ring { fill: none; stroke: rgba(214, 197, 173, 0.45); stroke-width: 0.8; stroke-dasharray: 2 3; }
.seal-text { font-family: var(--font-sans); font-size: 11.5px; font-weight: 400; letter-spacing: 1px; fill: var(--kraft-light); }
.seal-anchor { position: absolute; left: 50%; top: 50%; width: 28%; height: 28%; margin: -14% 0 0 -14%; fill: var(--kraft-light); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- imagens com parallax interno ---------- */
.img-clip { display: block; position: relative; overflow: hidden; width: 100%; }
.img-clip img { position: absolute; left: 0; top: 50%; width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, calc(-50% + var(--py, 0px)), 0); will-change: transform; transition: scale 1.4s var(--ease); }
.lb-trigger:hover .img-clip img, .split-photo:hover .img-clip img { scale: 1.05; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.15fr; }
.split-photo { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.split-photo .img-clip { aspect-ratio: 4 / 3; }
.lb-trigger { display: block; width: 100%; }
.photo-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 12px; background: rgba(18, 37, 56, 0.85); border: 1px solid var(--line-navy); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--kraft-light); }
.split-text .btn { margin-top: 36px; }

/* ---------- Pacotes ---------- */
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .section-title { margin-bottom: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--navy-light);
  border: 1px solid var(--line-navy);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.card.tilting { transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), transform 0.08s linear; }
.card:hover { border-color: var(--kraft); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(214, 197, 173, 0.18), transparent 55%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.85); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
.card-body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.card-meta { align-self: flex-start; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy); background: var(--kraft-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.65rem; line-height: 1.15; color: var(--ivory); margin-bottom: 12px; }
.card-body p:not(.card-meta) { font-size: 0.95rem; line-height: 1.7; color: var(--navy-text); margin-bottom: 24px; }
.card-link { margin-top: auto; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--kraft-light); transition: letter-spacing 0.5s var(--ease); }
.card:hover .card-link { letter-spacing: 0.3em; }

/* ---------- Corporativo ---------- */
.section-kraft-dark .section-title { color: var(--kraft-title); }
.gallery { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(14px, 2.4vw, 28px); margin: clamp(64px, 9vw, 120px) 0; align-items: start; }
.gal-col { display: flex; flex-direction: column; gap: clamp(14px, 2.4vw, 28px); will-change: transform; }
.gal-col-mid { padding-top: 56px; }
.gal-col figure { overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; box-shadow: 0 18px 40px rgba(40, 28, 14, 0.25); }
.gal-col figure.gal-short { aspect-ratio: 4 / 3; }
.gal-col .lb-trigger { height: 100%; }
.gal-col img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), scale 1.9s var(--ease); }
.gal-col .lb-trigger:hover img { transform: scale(1.07); }

.corporate { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 8vw, 112px); align-items: start; padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-kraft); }
.corporate-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: var(--kraft-title); text-wrap: balance; }
.corporate .btn { margin-top: 36px; }

/* ---------- Banda do horizonte ---------- */
.horizon { position: relative; min-height: 92vh; display: flex; flex-direction: column; background: var(--navy-darkest); color: var(--ivory); overflow: hidden; isolation: isolate; }
.horizon-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.horizon-bg img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.horizon-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 50% 46%, rgba(9, 19, 29, 0.5), transparent 75%), linear-gradient(to bottom, rgba(9, 19, 29, 0.55), rgba(9, 19, 29, 0.2) 40%, rgba(9, 19, 29, 0.7)); }
.horizon-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: calc(var(--wave-h) + 40px); padding-bottom: 40px; }
.horizon .eyebrow { color: var(--kraft-light); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.horizon-quote { font-family: var(--font-serif); font-weight: 300; font-style: italic; font-size: clamp(2.4rem, 6.4vw, 5.4rem); line-height: 1.08; max-width: 16ch; margin-bottom: 40px; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35); }
.ticker { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(214, 197, 173, 0.3); border-bottom: 1px solid rgba(214, 197, 173, 0.3); padding: 14px 0; margin-bottom: calc(var(--wave-h) + 18px); background: rgba(9, 19, 29, 0.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 48s linear infinite; padding-left: 36px; }
.ticker-track span { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--kraft-light); white-space: nowrap; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--kraft); flex-shrink: 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer { background: var(--navy-darkest); color: var(--navy-text); padding-top: 24px; font-size: 0.95rem; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line-navy); }
.footer-top a { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory); transition: color 0.4s var(--ease); }
.footer-top a:hover { color: var(--kraft-light); }
.footer-top svg { width: 22px; height: 22px; color: var(--kraft); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.4fr; gap: 48px; padding: 72px 0; }
.footer-brand .brand-name { display: block; color: var(--ivory); font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; opacity: 0.8; }
.site-footer h4 { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--kraft); margin-bottom: 24px; }
.footer-links li + li { margin-top: 12px; }
.footer-links a, .footer-contact a { transition: color 0.4s var(--ease); }
.footer-links a:hover, .footer-contact a:hover { color: var(--kraft-light); }
.footer-contact p + p { margin-top: 10px; }
.footer-note { margin-bottom: 18px; opacity: 0.8; }

.newsletter { display: flex; border-bottom: 1px solid rgba(214, 197, 173, 0.5); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 0; color: var(--ivory); font: inherit; }
.newsletter input::placeholder { color: rgba(197, 215, 230, 0.5); }
.newsletter input:focus { outline: none; }
.newsletter button { padding: 0 6px 0 16px; color: var(--kraft-light); font-size: 1.2rem; transition: transform 0.4s var(--ease); }
.newsletter button:hover { transform: translateX(4px); }
.newsletter-feedback { display: none; margin-top: 12px; font-size: 0.85rem; color: var(--kraft-light); }

.credits { padding: 18px 0; border-top: 1px solid var(--line-navy); font-size: 0.78rem; opacity: 0.8; }
.credits summary { cursor: pointer; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.68rem; color: var(--kraft); }
.credits p { margin-top: 12px; max-width: 80ch; line-height: 1.8; }
.credits a { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 40px; border-top: 1px solid var(--line-navy); font-size: 0.8rem; opacity: 0.85; }
.back-to-top { width: 44px; height: 44px; border: 1px solid var(--line-navy); border-radius: 50%; display: grid; place-items: center; color: var(--kraft-light); transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.back-to-top:hover { background: var(--kraft-light); color: var(--navy); }
.back-to-top svg { width: 18px; height: 18px; }

.whatsapp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1px solid rgba(214, 197, 173, 0.6); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.whatsapp-fab svg { width: 24px; height: 24px; fill: var(--kraft-light); transition: fill 0.4s var(--ease); }
.whatsapp-fab:hover { background: var(--kraft-light); transform: translateY(-3px); }
.whatsapp-fab:hover svg { fill: var(--navy); }

/* ==========================================================================
   MODAIS + LIGHTBOX
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(6, 12, 20, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-video { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.modal-video .modal-close { top: -52px; right: 0; }

.modal-card { position: relative; width: min(520px, 100%); max-height: 100%; overflow-y: auto; padding: 52px 48px 44px; background: var(--navy); border: 1px solid var(--line-navy); border-radius: 6px; color: var(--ivory); transform: translateY(24px); transition: transform 0.6s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 2rem; line-height: 1; color: var(--ivory); transition: color 0.3s; z-index: 2; }
.modal-close:hover { color: var(--kraft-light); }
.modal-title { font-family: var(--font-serif); font-weight: 300; font-size: 2.1rem; line-height: 1.15; margin-bottom: 8px; }
.modal-sub { color: var(--navy-text); font-size: 0.95rem; margin-bottom: 32px; }

.form label { display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--kraft); margin-bottom: 22px; }
.form input, .form select { display: block; width: 100%; margin-top: 6px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(214, 197, 173, 0.4); color: var(--ivory); font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; border-radius: 0; transition: border-color 0.4s; color-scheme: dark; }
.form select option { background: var(--navy); color: var(--ivory); }
.form input::placeholder { color: rgba(197, 215, 230, 0.4); }
.form input:focus, .form select:focus { outline: none; border-color: var(--kraft-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .btn { margin-top: 12px; }

.lightbox { padding: 0; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.lightbox.open img.ready { opacity: 1; transform: none; }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(214, 197, 173, 0.5); border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: var(--ivory); transition: background 0.4s, color 0.4s; }
.lb-nav:hover { background: var(--kraft-light); color: var(--navy); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--kraft); }

/* ==========================================================================
   CURSOR PERSONALIZADO (somente mouse)
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 500; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1px solid var(--kraft-light); border-radius: 50%; pointer-events: none; display: grid; place-items: center; mix-blend-mode: normal; opacity: 0; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s var(--ease), opacity 0.3s; }
.cursor.visible { opacity: 1; }
.cursor span { font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.cursor.hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(214, 197, 173, 0.2); }
.cursor.label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--kraft-light); border-color: var(--kraft-light); }
.cursor.label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   REVELAÇÕES AO ROLAR
   ========================================================================== */
.js [data-reveal] { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.js [data-reveal].in-view { opacity: 1; translate: 0 0; }
.js .split-photo[data-reveal] .img-clip, .js .about-media[data-reveal] .img-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease); }
.js .split-photo[data-reveal].in-view .img-clip, .js .about-media[data-reveal].in-view .img-clip { clip-path: inset(0); }

/* cards e botões combinam a revelação com os próprios efeitos */
.cards .card:nth-child(2) { --ci: 1; }
.cards .card:nth-child(3) { --ci: 2; }
.cards .card:nth-child(4) { --ci: 3; }
.js .card[data-reveal] {
  transition: opacity 1s var(--ease) calc(var(--ci, 0) * 0.1s), translate 1s var(--ease) calc(var(--ci, 0) * 0.1s),
              transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.js .card[data-reveal].tilting {
  transition: opacity 1s var(--ease) calc(var(--ci, 0) * 0.1s), translate 1s var(--ease) calc(var(--ci, 0) * 0.1s),
              transform 0.08s linear, border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.js .btn[data-reveal] {
  transition: opacity 1s var(--ease), translate 1s var(--ease), transform 0.4s var(--ease),
              background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}


/* galeria: cada foto entra em leque, revelada de baixo para cima, com a imagem se assentando */
.js .gallery figure[data-reveal] {
  opacity: 1;
  clip-path: inset(100% 0 0 0 round 4px);
  translate: var(--gx, 0px) 90px;
  rotate: var(--gr, 0deg);
  scale: 0.9;
  transition: clip-path 1.4s var(--ease), translate 1.5s var(--ease), rotate 1.5s var(--ease), scale 1.5s var(--ease);
  transition-delay: calc(var(--gi, 0) * 140ms);
}
.js .gallery figure[data-reveal].in-view { clip-path: inset(0 0 0 0 round 4px); translate: 0 0; rotate: 0deg; scale: 1; }
.js .gallery figure[data-reveal] img { scale: 1.45; transition-delay: calc(var(--gi, 0) * 140ms); }
.js .gallery figure[data-reveal].in-view img { scale: 1; }

/* títulos palavra por palavra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.05em 0.16em; margin: 0 -0.05em -0.16em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].in-view .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .hero-in, .hero-line .hero-in { opacity: 1; transform: none; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; translate: none; transform: none; }
  .js .gallery figure[data-reveal] { clip-path: none; rotate: none; scale: none; translate: none; }
  .js .gallery figure[data-reveal] img { scale: none; }
  .waves-hero { transform: none; }
  .js .split-photo[data-reveal] .img-clip, .js .about-media[data-reveal] .img-clip { clip-path: none; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav ul { gap: 26px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-inner { padding: 0 20px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.15rem; }

  .main-nav { position: fixed; inset: 0; background: rgba(9, 19, 29, 0.98); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; z-index: -1; }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 26px; }
  .main-nav a { font-family: var(--font-serif); font-size: 2rem; letter-spacing: 0.04em; text-transform: none; font-weight: 300; }
  .nav-cta-mobile { display: inline-flex; }

  .container { padding: 0 22px; }
  .hero-content { padding: 0 22px 120px; }
  .video-toggle { left: 22px; bottom: 28px; }
  .scroll-down { bottom: 22px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 28px; }

  .about-grid, .split, .split-reverse, .corporate { grid-template-columns: 1fr; }
  .split-reverse .split-photo { order: 2; }
  .about-media { margin: 0 auto; max-width: 480px; }
  .facts { gap: 24px; flex-wrap: wrap; }
  .blueprint { display: none; }
  .anchor-decor { opacity: 0.5; top: 4%; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gal-col-mid { padding-top: 0; }
  .gallery .gal-col:nth-child(3) { grid-column: 1 / -1; flex-direction: row; }
  .gallery .gal-col:nth-child(3) figure { flex: 1; }

  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero-media video { object-position: 38% 50%; }
  .hero-eyebrow { display: none; }
  .sd-label { display: none; }
  .about-note { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 16 / 10; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; text-align: center; justify-items: center; }
  .footer-top { align-items: center; }
  .footer-brand p { margin: 0 auto; }
  .newsletter { width: 100%; max-width: 340px; margin: 0 auto; }
  .newsletter input { text-align: center; }
  .credits { text-align: center; }
  .footer-bottom { flex-direction: column-reverse; gap: 20px; align-items: center; text-align: center; }
  .modal-card { padding: 48px 26px 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .whatsapp-fab { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .horizon { min-height: 80vh; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .gal-col figure { aspect-ratio: 3 / 4; }
}

/* indicador de scroll some assim que a pessoa começa a rolar */
.hero.scrolled .scroll-down { opacity: 0 !important; pointer-events: none; transition: opacity 0.5s var(--ease); }

/* a entrada em leque da galeria começa fora da coluna; recorta para não gerar scroll lateral */
.section-kraft-dark { overflow-x: clip; }
