/* ============================================================
   HOPPE — site moderno
   Paleta extraída do site original:
   dourado #D9B62B · azul #1863DC · grafite #212121 · cinza #555758
   ============================================================ */
:root {
  --gold: #D9B62B;
  --gold-soft: #e8cf6b;
  --blue: #1863DC;
  --bg: #0e1013;
  --bg-2: #14171b;
  --bg-3: #1b1f24;
  --ink: #f4f4f2;
  --ink-soft: #a8adb3;
  --line: rgba(255, 255, 255, .08);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 64px; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 16px;
}
.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }
.gold { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  text-decoration: none; padding: 14px 26px; border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn--gold {
  color: #171203; background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 24px rgba(217, 182, 43, .28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217, 182, 43, .4); }
.btn--ghost { color: var(--ink); border: 1.5px solid rgba(255, 255, 255, .22); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(18px, 4vw, 48px);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.topbar.is-solid {
  background: rgba(14, 16, 19, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 10px; padding-bottom: 10px;
}
.topbar__logo img { height: 34px; width: auto; }
.topbar__nav { display: flex; gap: 4px; margin-left: auto; }
.topbar__nav a {
  font-family: var(--font-display); font-size: .86rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  padding: 9px 15px; border-radius: 99px;
  transition: color .2s, background .2s;
}
.topbar__nav a:hover, .topbar__nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, .07); }
.topbar__cta { padding: 11px 20px; font-size: .84rem; }
.topbar__burger { display: none; }

/* ============================================================
   HERO — scroll-scrub
   ============================================================ */
.hero { position: relative; height: 380vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }

.hero__media { position: absolute; inset: 0; background: var(--bg); }
.hero__media video,
.hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__poster { transform: scale(1.06); transition: opacity .5s ease; }
.hero__media.has-video .hero__poster { opacity: 0; }
/* sem vídeo ainda: Ken Burns sutil no poster para não ficar estático */
.hero__media:not(.has-video) .hero__poster { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.6%, -2%); }
}

.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, .84) 0%, rgba(10, 11, 13, .45) 46%, rgba(10, 11, 13, .1) 75%),
    linear-gradient(0deg, rgba(14, 16, 19, .9) 0%, transparent 30%);
}

.hero__copy {
  position: absolute; z-index: 3;
  left: clamp(20px, 6vw, 84px); top: 50%;
  transform: translateY(-50%);
  max-width: 640px;
  will-change: opacity, transform;
}
.hero__copy h1, .hero__copy h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 3.9rem);
  line-height: 1.06; letter-spacing: -.015em; margin: 0 0 20px;
}
.hero__copy em { font-style: normal; color: var(--gold); }
.hero__copy p { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero__copy--out { opacity: 0; pointer-events: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__hint {
  position: absolute; z-index: 3; left: 50%; bottom: 30px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
  transition: opacity .3s;
}
.hero__hint i {
  width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 13px;
  position: relative;
}
.hero__hint i::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  border-radius: 3px; background: var(--gold); transform: translateX(-50%);
  animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 19px; } }

.hero__progress {
  position: absolute; z-index: 3; right: clamp(18px, 3vw, 40px); top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 130px; border-radius: 99px;
  background: rgba(255, 255, 255, .14);
}
.hero__progress span {
  display: block; width: 100%; height: 100%; border-radius: 99px;
  background: var(--gold); transform-origin: top; transform: scaleY(0);
}

/* ============================================================
   IMPORTAÇÃO — vídeo scrubado (navio + contêiner HOPPE)
   ============================================================ */
/* entra como cortina por cima do hero: os últimos 100vh do pin do hero são
   cobertos pela seção subindo (margem negativa + z-index maior) */
.simport { position: relative; height: 300vh; margin-top: -70vh; z-index: 2; }
.hero { z-index: 1; }
.simport__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #070a10; }

/* o quadro do vídeo: começa em tela cheia; o JS interpola left/top/width/height
   até virar o cartão quadrado à direita */
.simport__media {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: #0a0d12; overflow: hidden;
  will-change: width, height, left, top;
}
.simport__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* placeholder enquanto o vídeo não existe: "mar" escuro com a logo ao centro */
.simport__poster {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(24, 99, 220, .16), transparent 60%),
    radial-gradient(70% 45% at 70% 0%, rgba(217, 182, 43, .10), transparent 65%),
    linear-gradient(180deg, #0d1117 0%, #0a0d12 55%, #070a10 100%);
  background-size: cover; background-position: center;
  transition: opacity .5s ease;
}
.simport__poster img { width: clamp(160px, 22vw, 300px); opacity: .35; }
.simport__poster.has-img { background-blend-mode: normal; }
.simport__poster.has-img img { display: none; }
.simport__media.has-video .simport__poster { opacity: 0; }

.simport__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, .78) 0%, rgba(7, 9, 12, .38) 44%, rgba(7, 9, 12, .06) 72%),
    linear-gradient(0deg, rgba(14, 16, 19, .92) 0%, transparent 26%),
    linear-gradient(180deg, rgba(14, 16, 19, .6) 0%, transparent 18%);
}

.simport__copy {
  position: absolute; z-index: 3;
  left: clamp(20px, 6vw, 84px); top: 50%;
  transform: translateY(-50%);
  max-width: min(44vw, 620px); opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.simport__copy h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 24px;
}
.simport__copy em { font-style: normal; color: var(--gold); }

.simport__progress {
  position: absolute; z-index: 3; right: clamp(18px, 3vw, 40px); top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 130px; border-radius: 99px;
  background: rgba(255, 255, 255, .14);
}
.simport__progress span {
  display: block; width: 100%; height: 100%; border-radius: 99px;
  background: var(--gold); transform-origin: top; transform: scaleY(0);
}

@media (max-width: 860px) {
  .simport { height: 190vh; }
  /* no celular o cartão encolhe para o topo e os textos ancoram embaixo */
  .simport__copy {
    left: 20px; right: 20px; max-width: none;
    top: auto; bottom: calc(12vh + env(safe-area-inset-bottom));
    transform: none;
  }
  .simport__progress { display: none; }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section--empresa { background: var(--bg-2); }
.section--motores { background: var(--bg); }
.section--persianas { background: var(--bg-2); }
.section--importacao { background: var(--bg); }
.section--cta { background: linear-gradient(135deg, #16130a, #1c1810 55%, #14171b); text-align: center; }
.section--contato { background: var(--bg); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead strong { color: var(--ink); }

/* divisor com motivo de palhetas de persiana */
.slat-divider {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(180deg,
    rgba(255, 255, 255, .05) 0 2px, transparent 2px 7px);
  opacity: .6; pointer-events: none;
}

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--tight { margin-top: clamp(48px, 6vw, 80px); align-items: start; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 800; color: #171203;
  background: var(--gold);
}

.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 20px;
}
.stat-card strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800; color: var(--gold); line-height: 1;
}
.stat-card span { font-size: .84rem; color: var(--ink-soft); }

.media-card { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.media-card img { width: 100%; }

/* motores */
.motor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.motor-photo { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.motor-photo img { width: 100%; }
.motor-photo figcaption {
  padding: 14px 20px; font-family: var(--font-display); font-weight: 700; font-size: .86rem;
  letter-spacing: .1em; background: var(--bg-3); color: var(--gold);
}

.specs { margin: 0; display: grid; gap: 0; }
.specs > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--ink-soft); font-size: .92rem; }
.specs dd { margin: 0; font-weight: 600; font-size: .92rem; text-align: right; }

.motor-cards, .acc-cards { display: grid; gap: 20px; }
.motor-cards { grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); }
.acc-cards { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px; transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 182, 43, .4); }
.card img { border-radius: 12px; margin-bottom: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #fff; }
.card h4 { font-family: var(--font-display); margin: 0 0 8px; font-size: 1.02rem; }
.card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* palhetas */
.palheta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.palheta {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: transform .25s ease, border-color .25s ease;
}
.palheta:hover { transform: translateY(-5px); border-color: rgba(217, 182, 43, .45); }
.palheta img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.palheta h4 { font-family: var(--font-display); font-size: .95rem; margin: 14px 16px 4px; }
.palheta p { margin: 0 16px 16px; font-size: .82rem; color: var(--ink-soft); }

/* contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
}
.contact-card h4 {
  margin: 0 0 8px; font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--gold); }
.socials { display: flex; gap: 16px; }
.socials a { font-weight: 600; }

.globe3d {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  height: 460px;
}
.globe3d iframe { width: 100%; height: 100%; border: 0; display: block; }

.map3d {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  height: 480px;
}
.map3d iframe { width: 100%; height: 100%; border: 0; display: block; }
.map3d__links {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.map3d__link {
  background: rgba(14, 16, 19, .85); backdrop-filter: blur(8px);
  padding: 9px 16px; border-radius: 99px; font-size: .8rem; font-weight: 600;
  color: var(--gold); text-decoration: none;
}
.map3d__link:hover { background: rgba(14, 16, 19, .95); }
.map3d__link--alt { color: var(--ink); }

.map-card { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.map-card a { text-decoration: none; display: block; }
.map-card img { width: 100%; filter: saturate(.85) brightness(.92); transition: filter .3s; }
.map-card:hover img { filter: saturate(1) brightness(1); }
.map-card figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(14, 16, 19, .85); backdrop-filter: blur(8px);
  padding: 9px 16px; border-radius: 99px; font-size: .8rem; font-weight: 600; color: var(--gold);
}

/* footer */
.footer { background: #0a0c0e; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__logo { height: 36px; width: auto; }
.footer p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.footer__nav a { color: var(--ink-soft); text-decoration: none; font-size: .88rem; }
.footer__nav a:hover { color: var(--gold); }
.footer small { color: #6b7076; }
.footer small a { color: inherit; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  transition: transform .22s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media:not(.has-video) .hero__poster { animation: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .split, .motor-grid, .contact-grid { grid-template-columns: 1fr; }
  .motor-cards { grid-template-columns: 1fr; }
  .palheta-grid { grid-template-columns: repeat(2, 1fr); }
  .specs dd { text-align: left; }
  .specs > div { flex-direction: column; gap: 2px; }
}

@media (max-width: 860px) {
  .topbar__nav, .topbar__cta { display: none; }
  .topbar__burger {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
  }
  .topbar__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .topbar.menu-open .topbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.menu-open .topbar__burger span:nth-child(2) { opacity: 0; }
  .topbar.menu-open .topbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar.menu-open .topbar__nav {
    display: flex; flex-direction: column; position: fixed;
    top: 62px; left: 0; right: 0; padding: 18px 24px 26px;
    background: rgba(14, 16, 19, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .hero { height: 220vh; }
  .hero__copy { left: 20px; right: 20px; }
  .hero__progress { display: none; }
  .palheta-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .acc-cards { grid-template-columns: 1fr; }
}
