/* Fontes hospedadas no proprio site (licenca OFL) - evita chamadas ao Google Fonts */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-display-600-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/public-sans-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================================================
   YISPEK COMEX — Assessoria de Importação
   Design tokens
   =========================================================== */
:root {
  /* One committed light theme — clear, consistent contrast on every device */
  --ink: #14171b;
  --ink-soft: #4a4f56;
  --ink-faint: #767c84;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-alt: #eceef0;
  --border: #dde0e3;
  --accent: #b8860a;      /* deep gold, tuned for AA contrast on light */
  --accent-ink: #14171b;  /* text sitting on top of accent fills */
  --focus: #1f6fd6;

  /* Hero band: a cool, quiet surface — a chart/ledger tone, not a bright sky */
  --hero-bg: #eef1f5;
  --hero-bg-alt: #e3e8ee;
  --navy: #16233a;

  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.brand-name {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { position: relative; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- soft-card motif: rounded corners + gentle lift on hover ---------- */
.card-soft {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(20, 20, 15, 0.28);
  border-color: color-mix(in srgb, var(--border) 40%, var(--accent));
}
/* icon badge: a soft circle, the recurring motif in place of square brackets */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  flex: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.icon-badge svg { width: 20px; height: 20px; }
.card-soft:hover .icon-badge { transform: scale(1.08); background: color-mix(in srgb, var(--accent) 20%, transparent); }

/* ---------- scroll reveal: content is visible by default; JS only adds motion ---------- */
.reveal > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-hidden > * { opacity: 0; transform: translateY(16px); transition: none; }
.reveal > *:nth-child(1) { transition-delay: 0s; }
.reveal > *:nth-child(2) { transition-delay: 0.07s; }
.reveal > *:nth-child(3) { transition-delay: 0.14s; }
.reveal > *:nth-child(4) { transition-delay: 0.21s; }
.reveal > *:nth-child(5) { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal.is-hidden > * { opacity: 1; transform: none; }
}

/* ===========================================================
   Header / nav
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand-mark span { color: var(--accent); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 84px; left: 1rem; right: 1rem; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 32px -18px rgba(20,20,15,0.35);
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 1.1rem 1rem; gap: 0.25rem; transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  background: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-alt) 100%);
  color: var(--ink);
  padding: calc(72px + 4.5rem) 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}
.hero-eyebrow { color: var(--accent); margin-bottom: 1.1rem; display: block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.hero-ctas {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-meta {
  margin-top: 2.6rem;
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.hero-meta div { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 0.15rem; }

.hero-art {
  position: relative;
  background: var(--surface);
  padding: 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px -26px rgba(22, 35, 58, 0.25);
}
.hero-art svg {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* ===========================================================
   Generic section chrome
   =========================================================== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--surface-alt); }
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head .eyebrow { color: var(--accent); margin-bottom: 0.75rem; display: block; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.about-copy p + p { margin-top: 1rem; }

.pillars { display: grid; gap: 0.9rem; }
.pillar {
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pillar .icon-badge svg { color: var(--accent); }
.pillar h3 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-top: 0.35rem; }
.pillar p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.25rem; }

.photo-strip {
  margin-top: 1.75rem;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.photo-strip img { width: 100%; height: auto; border-radius: calc(var(--radius) - 6px); }
.photo-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  margin-top: 0.55rem;
  text-transform: uppercase;
}

/* ---------- O que fazemos (pillars grid 5) ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
@media (max-width: 980px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .focus-grid { grid-template-columns: 1fr; } }
.focus-item {
  position: relative;
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.focus-item h3 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 1rem; letter-spacing: 0; }
.focus-item p { font-size: 0.88rem; color: var(--ink-soft); }
.focus-item .step-num {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
/* connects the five steps into a visible sequence on wide screens */
.focus-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.95rem;
  right: calc(-1.1rem - 1px);
  width: calc(1.1rem + 2px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border));
  opacity: 0.55;
}
@media (max-width: 980px) {
  .focus-item::after { display: none; }
}

/* ---------- Escopo (3 grouped cards) ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-card {
  padding: 1.9rem;
}
.scope-card .scope-icon {
  margin-bottom: 1.2rem;
}
.scope-card h3 {
  font-family: var(--font-body); text-transform: none; font-weight: 700;
  font-size: 1.08rem; letter-spacing: 0; margin-bottom: 0.9rem;
}
.scope-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.scope-card li {
  font-size: 0.9rem; color: var(--ink-soft);
  padding-left: 1.1rem; position: relative;
}
.scope-card li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Benefícios ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  position: relative;
  padding: 1.7rem 1.4rem 1.5rem;
}
.benefit-card h3 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-top: 1rem; }
.benefit-card p { margin-top: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Clientes ---------- */
.clients-lead {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: 2.25rem;
}
.clients-years {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-right: clamp(1.25rem, 3vw, 2.25rem);
  border-right: 1px solid var(--border);
  font-family: var(--font-display);
  text-transform: uppercase;
}
.clients-years strong { font-size: clamp(3.2rem, 7vw, 4.8rem); line-height: 0.9; color: var(--accent); font-weight: 800; }
.clients-years span { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.clients-years-label { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.4rem; }
.clients-intro { color: var(--ink-soft); max-width: 62ch; font-size: 1.02rem; }
@media (max-width: 560px) {
  .clients-lead { flex-direction: column; align-items: flex-start; }
  .clients-years { border-right: none; padding-right: 0; }
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: 1fr; } }
.client-card {
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  min-height: 108px;
}
.client-card strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.client-card span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===========================================================
   Contato + footer
   =========================================================== */
.contact {
  background: var(--surface-alt);
  color: var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
}
.contact-card .cc-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.25rem; display: block;
}
.contact-card .cc-value { font-size: 1rem; font-weight: 600; }

.contact-cta-panel {
  padding: 2.1rem;
  background: var(--surface);
}
.contact-cta-panel h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.contact-cta-panel p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-row .brand-mark { color: var(--ink); font-size: 1.1rem; }
.footer-row .brand-mark span { color: var(--accent); }
.footer-copy { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.03em; }

/* ===========================================================
   Hero illustration: quiet, purposeful motion
   =========================================================== */
@keyframes routeTravel { to { stroke-dashoffset: -200; } }
@keyframes shipBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pinPulse { 0%, 100% { opacity: 0.45; r: 8; } 50% { opacity: 0.05; r: 12; } }

.route-line { animation: routeTravel 14s linear infinite; }
.ship-group { animation: shipBob 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.pin-pulse { animation: pinPulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }

@media (prefers-reduced-motion: reduce) {
  .route-line, .ship-group, .pin-pulse { animation: none; }
}

/* ===========================================================
   Utilitarios (substituem estilos inline, para permitir uma CSP rigorosa)
   =========================================================== */
.eyebrow.eyebrow-about { color: var(--accent); display: block; margin-bottom: 0.75rem; }
h2.about-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1.5rem; }
.btn.btn-block { width: 100%; justify-content: center; }

.section.notfound { padding-top: clamp(7rem, 14vw, 10rem); min-height: 70vh; }
