/* =====================================================
   HSN Advisory — Consultoria Corporativa & Negócios Internacionais
   ===================================================== */
:root {
  --navy-950: #04101F;
  --navy-900: #061426;
  --navy-800: #0A1B32;
  --navy-700: #10253F;
  --gold: #C9A45C;
  --gold-light: #DDC08A;
  --gold-dark: #A9853F;
  --ivory: #F5F3EE;
  --tint: #ECE8DF;
  --ink: #12233A;
  --muted: #5A6B80;
  --muted-dark: #9FB0C4;
  --white: #FFFFFF;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 45px -18px rgba(6, 20, 38, 0.35);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1160px, 92%); margin-inline: auto; }

::selection { background: var(--gold); color: var(--navy-950); }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow-dark { color: var(--gold-dark); }

.section-title {
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0.01em;
}
.section-light .section-title, .section-tint .section-title { color: var(--ink); }

.gold { color: var(--gold); }

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.01em;
}
.section-dark .accent-serif, .hero .accent-serif { color: var(--gold); }

/* ---------- Divisor com losango ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.4rem 0; }
.divider .line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider .line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .diamond {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.15rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.header.scrolled {
  background: rgba(4, 16, 31, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-name {
  color: var(--white); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.82); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding: 0.35rem 0; transition: color 0.25s ease;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transform: translateX(-50%); transition: width 0.28s ease;
}
.nav a:not(.nav-cta):hover { color: var(--white); }
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  color: var(--navy-950); background: var(--gold);
  text-decoration: none; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.65rem 1.35rem; border: 1px solid var(--gold);
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: transparent; color: var(--gold); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.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; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 0 5rem;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(201, 164, 92, 0.12), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../worldmap.png") center 30% / cover no-repeat;
  opacity: 0.5; mix-blend-mode: screen;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,16,31,.55) 0%, rgba(4,16,31,.15) 45%, rgba(4,16,31,.85) 100%);
  pointer-events: none;
}
.hero-frame {
  position: absolute; inset: 22px; pointer-events: none; z-index: 2;
  border: 1px solid rgba(201, 164, 92, 0.28);
}
.hero-frame::before, .hero-frame::after,
.hero-content::before, .hero-content::after { display: none; }

.hero-content { position: relative; z-index: 3; max-width: 880px; }
.hero-monogram { width: 92px; margin: 0 auto 1.6rem; opacity: 0.95; }
.hero .eyebrow { font-size: 0.74rem; }
.hero-title {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600; letter-spacing: 0.06em;
  color: var(--white); line-height: 1.05; text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.hero-tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem); color: rgba(255, 255, 255, 0.94);
}
.hero-tagline em { color: var(--gold-light); font-weight: 600; }
.hero-sub {
  max-width: 640px; margin: 0.9rem auto 0;
  color: var(--muted-dark); font-size: 0.98rem; font-weight: 300; line-height: 1.85;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.95rem 2.1rem; transition: all 0.28s ease; border-radius: var(--radius);
}
.btn-gold { background: var(--gold); color: var(--navy-950); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(201, 164, 92, 0.5); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint .mouse {
  width: 3px; height: 8px; border-radius: 2px; background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Seções ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-light { background: var(--ivory); }
.section-tint { background: var(--tint); }
.section-dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(201, 164, 92, 0.08), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-lead { color: var(--muted-dark); margin-top: 1.2rem; font-weight: 300; }

/* ---------- Quem somos ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center;
  max-width: 1020px; margin: 0 auto;
}
.about-text p { color: var(--muted); margin-bottom: 1.4rem; font-size: 1.02rem; line-height: 1.9; }
.about-text strong { color: var(--ink); font-weight: 600; }

.about-quote {
  position: relative; text-align: center;
  border: 1px solid rgba(169, 133, 63, 0.4);
  padding: 3rem 2.2rem 2.6rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.about-quote::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(169, 133, 63, 0.22); pointer-events: none;
}
.quote-mark {
  position: absolute; top: -1.7rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 4.5rem; line-height: 1;
  color: var(--gold); background: var(--ivory); padding: 0 0.6rem;
}
.about-quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1.35rem; line-height: 1.55; color: var(--ink);
}
.about-quote em { color: var(--gold-dark); font-weight: 600; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.6rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; }

.card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 164, 92, 0.25);
  padding: 2.6rem 2.1rem; text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 2px; background: var(--gold);
  transition: width 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 164, 92, 0.6); background: rgba(255, 255, 255, 0.06); }
.card:hover::before { width: 70%; }
.card h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin: 1.3rem 0 0.85rem; }
.card p { color: var(--muted-dark); font-size: 0.92rem; font-weight: 300; line-height: 1.8; }

.card-icon {
  width: 64px; height: 64px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 164, 92, 0.45); border-radius: 50%;
  color: var(--gold);
}
.card-outline { background: var(--white); border-color: rgba(18, 35, 58, 0.1); box-shadow: var(--shadow); }
.card-outline::before { background: var(--gold-dark); }
.card-outline h3 { color: var(--ink); letter-spacing: 0.08em; }
.card-outline p { color: var(--muted); }
.card-outline:hover { border-color: rgba(169, 133, 63, 0.5); background: var(--white); }
.card-icon-dark { border-color: rgba(169, 133, 63, 0.5); color: var(--gold-dark); }

/* ---------- Serviços ---------- */
.service { background: var(--white); border: 1px solid rgba(18, 35, 58, 0.08); padding: 3rem 2.6rem; box-shadow: var(--shadow); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service:hover { transform: translateY(-5px); }
.service-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.9rem; }
.service h3 { font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem; }

.diamond-list { list-style: none; }
.diamond-list li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.diamond-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Pilares ---------- */
.pillars { max-width: 920px; margin: 0 auto; }
.pillar {
  display: flex; gap: 2.2rem; align-items: flex-start;
  padding: 2.3rem 0; border-bottom: 1px solid rgba(18, 35, 58, 0.12);
}
.pillar:first-child { border-top: 1px solid rgba(18, 35, 58, 0.12); }
.pillar-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 2.6rem; line-height: 1; color: var(--gold);
  flex: none; min-width: 64px;
}
.pillar h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.5rem; }
.pillar p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Método ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  counter-reset: etapa; max-width: 1080px; margin: 0 auto;
}
.step { position: relative; padding: 2.2rem 1.6rem; border: 1px solid rgba(201, 164, 92, 0.22); background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s ease, transform 0.3s ease; }
.step:hover { border-color: rgba(201, 164, 92, 0.6); transform: translateY(-5px); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -0.95rem;
  width: 9px; height: 9px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.step-num { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 2.1rem; color: var(--gold); margin-bottom: 0.7rem; }
.step h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.step p { color: var(--muted-dark); font-size: 0.88rem; font-weight: 300; }
.method-note { text-align: center; margin-top: 3rem; color: var(--gold-light); font-size: 0.92rem; font-style: italic; font-family: var(--font-serif); font-size: 1.15rem; }

/* ---------- Banner ---------- */
.banner {
  max-width: 860px; margin: 3.6rem auto 0; text-align: center;
  border-top: 1px solid rgba(169, 133, 63, 0.35);
  border-bottom: 1px solid rgba(169, 133, 63, 0.35);
  padding: 2.2rem 1.5rem;
}
.banner p { font-family: var(--font-serif); font-style: italic; font-size: 1.28rem; line-height: 1.6; color: var(--ink); }
.banner strong { color: var(--gold-dark); font-weight: 600; }

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 980px; margin: 0 auto; }
.diff { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--white); border: 1px solid rgba(18, 35, 58, 0.08); padding: 1.9rem 1.9rem; box-shadow: var(--shadow); transition: transform 0.3s ease; }
.diff:hover { transform: translateY(-4px); }
.diff .card-icon { margin: 0; width: 54px; height: 54px; flex: none; }
.diff h3 { font-size: 0.98rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.diff p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ---------- Próximos passos ---------- */
.step-next { display: flex; flex-direction: column; }
.step-num-dark { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 2.4rem; color: var(--gold); margin-bottom: 0.6rem; line-height: 1; }

/* ---------- Contato ---------- */
.contact { overflow: hidden; }
.contact .hero-bg { opacity: 0.35; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 980px; margin: 0 auto 2.6rem; }
.contact-card {
  display: flex; flex-direction: column; gap: 0.55rem; align-items: center; text-align: center;
  border: 1px solid rgba(201, 164, 92, 0.3); background: rgba(4, 16, 31, 0.5);
  padding: 2.1rem 1.5rem; text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(4, 16, 31, 0.75); }
.contact-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); }
.contact-value { color: var(--white); font-size: 0.98rem; font-weight: 400; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid rgba(201, 164, 92, 0.2); padding: 3.2rem 0 1.8rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-tag { color: var(--muted-dark); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.2rem; }
.footer-nav { display: flex; gap: 1.7rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted-dark); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer-bottom p { color: rgba(159, 176, 196, 0.6); font-size: 0.78rem; text-align: center; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 5rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .card-grid.three, .contact-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .pillar { gap: 1.4rem; }

  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 84vw); height: 100vh;
    background: rgba(4, 16, 31, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1.8rem; transition: right 0.4s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }
  .nav.open { right: 0; }
}

@media (max-width: 640px) {
  .card-grid.three, .card-grid.two, .contact-grid, .diff-grid, .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .hero { padding: 7rem 0 4.5rem; }
  .hero-frame { inset: 12px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .pillar { flex-direction: column; gap: 0.6rem; padding: 1.8rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; text-align: center; }
}
