/* =====================================================================
   JIREH Importadora & Exportadora — Stylesheet
   Paleta: azul-marinho profundo + dourado champanhe + marfim
   ===================================================================== */

:root {
  --navy-900: #060d18;
  --navy-800: #0a1626;
  --navy-700: #0f1f35;
  --navy-600: #172b47;
  --gold-300: #e6cf93;
  --gold-400: #d4b26a;
  --gold-500: #c19a4d;
  --gold-600: #a37f3b;
  --ivory: #f5f1e8;
  --ivory-2: #ede7d9;
  --white: #ffffff;
  --text-dark: #1a2230;
  --text-mute: #5f6b7a;
  --text-light: rgba(245, 241, 232, 0.78);
  --line-dark: rgba(212, 178, 106, 0.22);
  --line-light: rgba(26, 34, 48, 0.12);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tela de carregamento ---------- */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(212, 178, 106, 0.10), transparent 70%),
    var(--navy-900);
  color: var(--ivory);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(320px, 80vw);
}
.preloader-mark {
  width: 64px;
  aspect-ratio: 450 / 486;
  background: var(--gold-400);
  -webkit-mask: url("../assets/mark.webp") center / contain no-repeat;
  mask: url("../assets/mark.webp") center / contain no-repeat;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
.preloader-logo {
  width: 200px;
  aspect-ratio: 1294 / 486;
  background: var(--ivory);
  -webkit-mask: url("../assets/logo.webp") center / contain no-repeat;
  mask: url("../assets/logo.webp") center / contain no-repeat;
  opacity: 0.9;
}
.preloader-bar {
  width: 100%;
  height: 1px;
  background: rgba(212, 178, 106, 0.2);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width 0.35s var(--ease);
}
.preloader-text {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.preloader-dots::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  text-align: left;
  animation: preloaderDots 1.5s steps(4, end) infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes preloaderDots {
  0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-mark, .preloader-dots::after { animation: none; }
}

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold-400);
  color: var(--navy-900);
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-500);
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  font-weight: 400;
  color: var(--navy-800);
  margin-bottom: 26px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-600);
}

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 300;
  margin: 0 0 18px;
}
p { margin: 0 0 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.45s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-900);
  border-color: var(--gold-400);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 12px 34px -12px rgba(212, 178, 106, 0.7);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--ivory);
  border-color: rgba(245, 241, 232, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}
.btn-block { width: 100%; }
.btn-wa svg { flex: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6, 13, 24, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1400px;
}

/* Logo via máscara: reaproveita o PNG cinza em qualquer cor */
.brand-logo {
  display: block;
  width: 190px;
  aspect-ratio: 1294 / 486;
  background: var(--ivory);
  -webkit-mask: url("../assets/logo.webp") center / contain no-repeat;
  mask: url("../assets/logo.webp") center / contain no-repeat;
  transition: width 0.5s var(--ease), background 0.4s;
}
.site-header.scrolled .brand-logo { width: 150px; }
.brand:hover .brand-logo { background: var(--gold-300); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.4s var(--ease);
}
.nav a:hover { color: var(--gold-300); }
.nav a:hover::after { width: 100%; }
.nav .nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold-500); color: var(--navy-900); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 26px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  padding: 6px 2px;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: rgba(245, 241, 232, 0.55);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.lang-btn .flag {
  width: 18px; height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.25);
  opacity: 0.55;
  filter: saturate(0.6);
  transition: opacity 0.3s, filter 0.3s, box-shadow 0.3s, transform 0.3s;
}
.lang-btn:hover .flag, .lang-btn.active .flag {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 1px var(--gold-400);
}
.lang-btn.active .flag { transform: scale(1.08); }
.lang-btn:hover { color: var(--gold-300); }
.lang-btn.active { color: var(--gold-300); }
.lang-btn.active::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1px;
  background: var(--gold-400);
}
.lang-sep {
  width: 1px; height: 12px;
  background: rgba(212, 178, 106, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  align-items: flex-end;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  height: 1px;
  width: 24px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s;
}
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  color: var(--ivory);
  background: var(--navy-900);
}
/* Hero com vídeo controlado pelo scroll: o bloco é alto (distância de rolagem)
   e o conteúdo fica "grudado" na tela enquanto o vídeo avança. */
.hero-scrub { height: 300svh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  perspective: 1400px;
}
/* tratamento de cor por cima do vídeo: azul-marinho (multiply) + luz dourada (screen) */
.hero-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #16294a 0%, #0f1f38 55%, #0a1626 100%);
  mix-blend-mode: multiply;
  opacity: 0.82;
  pointer-events: none;
}
.hero-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(226, 176, 92, 0.55), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(212, 178, 106, 0.18), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: -6%;
  width: 112%; height: 112%;
  object-fit: cover;
  object-position: 62% 50%;
  z-index: -2;
  transform-origin: 55% 50%;
  will-change: transform;
  background: var(--navy-900) url("../assets/hero-poster.webp") 62% 50% / cover no-repeat;
}
@media (max-width: 799px) {
  .hero-video { background-image: url("../assets/hero-poster-sm.webp"); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 13, 24, 0.78) 0%, rgba(6, 13, 24, 0.45) 42%, rgba(6, 13, 24, 0.0) 78%),
    linear-gradient(180deg, rgba(6, 13, 24, 0.40) 0%, rgba(6, 13, 24, 0) 28%, rgba(6, 13, 24, 0.10) 72%, rgba(6, 13, 24, 0.85) 100%);
}
.hero-content {
  padding-top: 140px;
  padding-bottom: 120px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(212, 178, 106, 0.18);
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 7.6vw, 104px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  font-weight: 300;
  margin: 0 0 30px;
  max-width: 12ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--gold-300) 0%, var(--gold-400) 50%, #f4e4bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0 0 42px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  overflow: hidden;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold-400), transparent);
  animation: scrollDrop 2.4s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* =====================================================================
   FAIXA DE PILARES
   ===================================================================== */
.pillars-band {
  background: var(--navy-800);
  color: var(--ivory);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pillar {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  border-right: 1px solid var(--line-dark);
}
.pillar:last-child { border-right: 0; }
.pillar-icon {
  width: 44px; height: 44px;
  color: var(--gold-400);
}
.pillar-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ivory);
}

/* =====================================================================
   SEÇÕES GERAIS
   ===================================================================== */
.section { padding: 130px 0; }
.section-head {
  max-width: 760px;
  margin-bottom: 70px;
}

/* ---------- Quem Somos ---------- */
.about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.about-media { position: relative; }
.about-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(6, 13, 24, 0.6);
}
.about-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(230, 207, 147, 0.55);
  z-index: 2;
  pointer-events: none;
}
.about-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 1.4s var(--ease);
}
.about-media:hover .about-frame img { transform: scale(1.05); }
.about-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--navy-800);
}
.about-badge {
  position: absolute;
  right: -28px;
  bottom: 40px;
  background: var(--navy-800);
  color: var(--ivory);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 30px 50px -30px rgba(6, 13, 24, 0.8);
  border-left: 2px solid var(--gold-400);
}
.badge-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--gold-300);
}
.badge-text {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-light);
}
.about-list {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: 12px;
}
.about-list li {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--navy-700);
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-list li::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold-500);
}

/* ---------- Números ---------- */
.stats {
  background: var(--navy-800);
  color: var(--ivory);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 50% 100%, rgba(212, 178, 106, 0.10), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stat {
  padding: 56px 28px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 1;
  font-weight: 300;
  color: var(--gold-300);
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  font-size: 0.55em;
  margin-right: 4px;
  color: var(--gold-500);
  transform: translateY(-0.35em);
}
.stat-suffix { font-size: 0.62em; margin-left: 2px; color: var(--gold-400); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 220px;
}
.stat-label::before {
  content: "";
  display: block;
  width: 26px; height: 1px;
  margin: 6px auto 14px;
  background: var(--gold-500);
}

/* ---------- Faixa: filial em Hong Kong ---------- */
.branch-band {
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.branch-title h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ivory);
}
.branch-title h2 em { font-style: italic; color: var(--gold-300); }
.branch-title::after {
  content: "";
  display: block;
  width: 64px; height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.branch-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.branch-ring {
  width: 132px; height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 178, 106, 0.45);
  box-shadow: 0 0 0 10px rgba(212, 178, 106, 0.06), 0 30px 60px -30px rgba(222, 41, 16, 0.6);
  background: radial-gradient(circle at 50% 40%, rgba(212, 178, 106, 0.12), transparent 70%);
}
.branch-ring .flag-hk {
  width: 96px; height: 96px;
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.25);
}
.branch-name {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.branch-name span { letter-spacing: 0.2em; margin-left: 6px; color: var(--text-light); }
.branch-text {
  margin: 0;
  padding-left: 26px;
  border-left: 1px solid var(--gold-500);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}
.branch-text strong { color: var(--ivory); font-weight: 400; }

/* ---------- Perguntas frequentes ---------- */
.faq { background: var(--ivory-2); border-top: 1px solid var(--line-light); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-head { position: sticky; top: 120px; }
.faq-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.8;
}
.faq-cta-link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gold-500);
  transition: color 0.3s, border-color 0.3s;
}
.faq-cta-link:hover { color: var(--gold-600); border-color: var(--gold-600); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 50px -44px rgba(6, 13, 24, 0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: rgba(193, 154, 77, 0.5); }
.faq-q {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.25;
  color: var(--navy-800);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold-600);
}
.faq-icon {
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  flex: none;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1px;
  background: var(--gold-600);
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--gold-500); transform: rotate(45deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--navy-900); }
.faq-q:hover .faq-icon { background: rgba(193, 154, 77, 0.12); }
.faq-a {
  padding: 0 28px 28px 78px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-mute);
  animation: faqIn 0.5s var(--ease);
}
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 6px 0 14px; padding: 0; display: grid; gap: 6px; }
.faq-a li { padding-left: 22px; position: relative; }
.faq-a li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 10px; height: 1px;
  background: var(--gold-500);
}
.faq-a strong { color: var(--navy-800); font-weight: 500; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Soluções ---------- */
.solutions {
  background: var(--navy-800);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(212, 178, 106, 0.09), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(212, 178, 106, 0.06), transparent 70%);
  pointer-events: none;
}
.solutions .section-title { color: var(--ivory); }
.solutions .section-title em { color: var(--gold-300); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  position: relative;
}
.card {
  background: var(--navy-800);
  padding: 46px 34px 50px;
  position: relative;
  transition: background 0.5s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 34px; right: 34px; bottom: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover { background: var(--navy-700); }
.card:hover::after { transform: scaleX(1); }
.card-index {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--gold-400);
  margin-bottom: 40px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--ivory);
}
.card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  padding: 170px 0;
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
}
.manifesto-bg {
  position: absolute;
  inset: -10% 0;
  background: url("../assets/hero-scene.svg") 30% 45% / cover no-repeat;
  background-attachment: fixed;
  opacity: 0.7;
  z-index: -2;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(6, 13, 24, 0.55) 30%, rgba(6, 13, 24, 0.55) 70%, var(--navy-900) 100%);
}
.manifesto-mark {
  display: block;
  width: 64px;
  aspect-ratio: 450 / 486;
  margin: 0 auto 34px;
  background: var(--gold-400);
  -webkit-mask: url("../assets/mark.webp") center / contain no-repeat;
  mask: url("../assets/mark.webp") center / contain no-repeat;
}
.manifesto blockquote { margin: 0; }
.manifesto blockquote p {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.1;
  font-weight: 300;
  margin: 0 0 30px;
}
.manifesto blockquote em {
  font-style: italic;
  color: var(--gold-300);
}
.manifesto-tag {
  font-size: 12.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0;
}

/* ---------- Como Atuamos ---------- */
.process { background: var(--ivory); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 15%, var(--gold-500) 85%, transparent);
  opacity: 0.5;
}
.step { position: relative; padding-top: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  background: var(--ivory);
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold-600);
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 27px;
  margin-bottom: 12px;
  color: var(--navy-800);
}
.step p {
  font-size: 15.5px;
  color: var(--text-mute);
  margin: 0;
}

/* ---------- Diretoria ---------- */
.team {
  background: var(--ivory-2);
  border-top: 1px solid var(--line-light);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.person {
  display: flex;
  gap: 32px;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -45px rgba(6, 13, 24, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 70px -40px rgba(6, 13, 24, 0.5);
}
.person-initial {
  flex: none;
  width: 84px; height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--gold-600);
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  background: linear-gradient(160deg, #fff, var(--ivory));
}
.person h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.person-role {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 20px;
}
.person-contacts { display: grid; gap: 6px; font-size: 15px; color: var(--text-mute); }
.person-contacts a { border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.person-contacts a:hover { color: var(--navy-800); border-color: var(--gold-500); }

/* ---------- Contato ---------- */
.contact {
  background: var(--navy-800);
  color: var(--ivory);
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 0% 0%, rgba(212, 178, 106, 0.08), transparent 70%);
  pointer-events: none;
}
.contact .section-title { color: var(--ivory); }
.contact .section-title em { color: var(--gold-300); }
.contact .lead { color: var(--text-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  position: relative;
}
.contact-list {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.contact-list dt {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.contact-list dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-light);
}
.contact-list a { border-bottom: 1px solid transparent; transition: 0.3s; }
.contact-list a:hover { color: var(--gold-300); border-color: var(--gold-400); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.28);
  padding: 10px 0 12px;
  outline: none;
  transition: border-color 0.4s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23d4b26a' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select option { color: var(--text-dark); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold-400); }
.field.invalid input, .field.invalid textarea { border-bottom-color: #d7776a; }
.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.5);
  text-align: center;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--text-light);
  border-top: 1px solid var(--line-dark);
  padding: 70px 0 30px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(212, 178, 106, 0.14);
}
.footer-logo { width: 200px; background: var(--gold-300); margin-bottom: 20px; }
.footer-brand p { color: rgba(245, 241, 232, 0.6); font-family: var(--font-display); font-size: 19px; font-style: italic; }
.footer-nav { display: grid; gap: 12px; align-content: start; }
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-300); }
.footer-contact p { color: rgba(245, 241, 232, 0.6); }
.footer-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 4px;
}
.footer-branch {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ivory);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.flag-hk {
  width: 22px; height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212, 178, 106, 0.6);
  flex: none;
}
.with-flag { display: inline-flex; align-items: center; gap: 8px; }
.with-flag .flag-hk { width: 18px; height: 18px; }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  padding-right: calc(var(--gutter) + 72px);
  font-size: 12.5px;
  color: rgba(245, 241, 232, 0.72);
}
.footer-bottom p { margin: 0; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--gold-500); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: var(--gold-300);
  border: 1px solid var(--gold-500);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6);
  z-index: 90;
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: translateY(-3px); background: var(--gold-500); color: var(--navy-900); }

/* =====================================================================
   REVEAL (animação ao rolar)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.24s; }
.hero .reveal:nth-child(4) { transition-delay: 0.36s; }
.solutions-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .pillars .reveal:nth-child(2), .stats-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.solutions-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .pillars .reveal:nth-child(3), .stats-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.solutions-grid .reveal:nth-child(4), .steps .reveal:nth-child(4), .pillars .reveal:nth-child(4), .stats-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scrub { height: auto; }
  .hero-sticky { position: relative; }
  .scroll-line { animation: none; }
  .manifesto-bg { background-attachment: scroll; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1500px) {
  .nav { gap: 26px; }
  .nav a { font-size: 11.5px; letter-spacing: 0.16em; }
  .nav .nav-cta { padding: 9px 16px; }
  .brand-logo { width: 165px; }
  .lang { gap: 8px; }
  .lang-sep { display: none; }
  .lang-btn span { display: none; }
  .lang-btn .flag { width: 20px; height: 20px; }
  .header-tools { gap: 18px; }
}
@media (max-width: 1240px) {
  .nav { gap: 18px; }
  .nav a { font-size: 11px; letter-spacing: 0.12em; }
  .nav .nav-cta { display: none; }
}

@media (max-width: 1100px) {
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 13, 24, 0.45) 0%, rgba(6, 13, 24, 0.15) 60%, rgba(6, 13, 24, 0) 100%),
      linear-gradient(180deg, rgba(6, 13, 24, 0.55) 0%, rgba(6, 13, 24, 0.12) 20%, rgba(6, 13, 24, 0.72) 46%, rgba(6, 13, 24, 0.94) 100%);
  }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
  .steps::before { display: none; }
  .about-grid { gap: 60px; }
}

@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 24, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 15px; }
  .menu-toggle { display: flex; position: relative; z-index: 2; }
  .header-tools { gap: 14px; position: relative; z-index: 2; }
  .header-inner { position: relative; }
  .brand { position: relative; z-index: 2; }

  .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-band { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .branch-title::after { margin-left: auto; margin-right: auto; }
  .branch-text { border-left: 0; padding-left: 0; border-top: 1px solid var(--gold-500); padding-top: 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 40px 20px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 32px 20px; }
  .pillar:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 460px; }
  .about-badge { right: 0; bottom: -24px; }

  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .manifesto { padding: 120px 0; }
  .manifesto-bg { background-attachment: scroll; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.26em; }
  .eyebrow-extra { display: none; }
  .hero-content { padding-top: 130px; padding-bottom: 110px; }
  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-scrub { height: 240svh; }
  .hero-video { object-position: 58% 50%; }
  .hero-content { padding-top: 40svh; padding-bottom: 90px; }
  .lang { gap: 8px; }
  .lang-sep { display: none; }
  .lang-btn { padding: 6px 0; gap: 0; }
  .lang-btn span { display: none; }
  .lang-btn .flag { width: 22px; height: 22px; }
  .header-tools { gap: 10px; }
  .hero-sub { font-size: 16.5px; }
  .btn { width: 100%; }
  .solutions-grid { grid-template-columns: 1fr; }
  .card { padding: 36px 26px 40px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .person { flex-direction: column; padding: 32px 26px; gap: 22px; }
  .faq-q { padding: 20px 18px; gap: 14px; font-size: 20px; }
  .faq-a { padding: 0 18px 22px 18px; }
  .faq-num { display: none; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 32px 22px; }
  .about-badge { padding: 16px 18px; }
  .badge-num { font-size: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-logo { width: 150px; }
  .site-header.scrolled .brand-logo { width: 130px; }
}
