/* PLURIDESK · site institucional
   Paleta sóbria: marinho como cor de marca, latão como acento raro,
   cinzas frios. Serifada nos títulos, sem serifa no texto. */

@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --navy: #14294b;
  --navy-deep: #0d1b30;
  --brass: #a9834e;
  --brass-soft: #d9c3a0;
  --slate: #56627a;
  --mist: #eef1f6;
  --line: #d8dee8;
  --white: #ffffff;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--white); color: var(--navy-deep);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.measure { max-width: 62ch; }
.lead { font-size: 21px; line-height: 1.55; color: var(--slate); }
.small { font-size: 15px; color: var(--slate); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 4px;
  font-family: var(--sans); font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1px solid var(--navy); transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-quiet { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--navy); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 16px; }

/* ---------- cabeçalho ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.top .logo img { height: 34px; width: auto; }
.top nav { margin-left: auto; }
.top nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.top nav a { text-decoration: none; color: var(--slate); font-size: 16px; }
.top nav a:hover { color: var(--navy); }
.langs { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--line); }
.langs a { font-size: 15px; color: var(--slate); text-decoration: none; }
.langs a[aria-current='page'] { color: var(--navy); font-weight: 600; }
.langs a:hover { color: var(--navy); }

@media (max-width: 980px) {
  .top nav { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 560px) {
  .top .wrap { gap: 14px; min-height: 64px; }
  .top .logo img { height: 26px; }
  .langs { padding-left: 0; border-left: 0; gap: 10px; }
  .top .btn { display: none; }
}

/* ---------- abertura ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-text { display: flex; flex-direction: column; gap: 24px; padding-bottom: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: 15px; color: var(--slate); padding-left: 14px; border-left: 2px solid var(--brass); }
.hero-shot { position: relative; margin-top: 12px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero-shot::before {
  /* bloco marinho atrás da imagem do produto, sangrando até a borda direita */
  content: ''; position: absolute; z-index: -1;
  left: 14%; top: 22%; bottom: 0; right: calc(-1 * (100vw - 100%));
  background: var(--navy);
}

.frame {
  margin: 0; background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -24px rgba(13, 27, 48, .45);
  border: 1px solid var(--line);
}
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shot::before { left: -50vw; top: 30%; }
  .hero-text { padding-bottom: 8px; }
}

/* ---------- seções ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; max-width: 760px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.pillars li { padding: 0 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pillars li:first-child { padding-left: 0; border-left: 0; }
.pillars li::before { content: ''; width: 36px; height: 2px; background: var(--brass); margin-bottom: 8px; }
.pillars p { color: var(--slate); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .pillars li { padding: 0; border-left: 0; }
}

/* ---------- Trilha de Contato ---------- */
.journey { background: var(--navy); color: #dfe5ef; }
.journey h2, .journey h3 { color: var(--white); }
.journey .lead { color: #c3cddc; }
.journey .small { color: #9fb0c8; }

.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 0 20px 0 0; counter-increment: step; }
.steps li::before {
  /* linha que liga os passos */
  content: ''; position: absolute; top: 15px; left: 34px; right: 0; height: 2px;
  background: rgba(255, 255, 255, .22);
}
.steps li:last-child::before { display: none; }
.step-num {
  position: relative; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6); color: var(--white);
  font-size: 15px; font-weight: 600; margin-bottom: 18px; background: var(--navy);
}
.step-num::after { content: counter(step); }
.steps h3 { font-size: 22px; }
.steps p { font-size: 16px; color: #c3cddc; margin-top: 4px; }
.steps .wait { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--brass-soft); }

.journey-end {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; margin-bottom: 64px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; max-width: 820px;
}
.journey-end::before { content: ''; flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--brass); }
.journey-end p { color: var(--white); }

.journey-learn { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.journey-learn > div { display: flex; flex-direction: column; gap: 14px; }
.journey .frame { border-color: rgba(255, 255, 255, .15); }

/* sequência acesa uma única vez, quando a seção entra na tela */
@media (prefers-reduced-motion: no-preference) {
  .js .steps li, .js .journey-end { opacity: .25; transition: opacity .5s ease; }
  .js .steps.is-live li { opacity: 1; }
  .js .steps.is-live li:nth-child(2) { transition-delay: .45s; }
  .js .steps.is-live li:nth-child(3) { transition-delay: .9s; }
  .js .steps.is-live li:nth-child(4) { transition-delay: 1.35s; }
  .js .steps.is-live + .journey-end { opacity: 1; transition-delay: 1.9s; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 52px; }
  .steps li::before { top: 34px; left: 15px; right: auto; bottom: -28px; width: 2px; height: auto; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .journey-learn { grid-template-columns: 1fr; }
}

/* ---------- canais ---------- */
.channel-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-bottom: 32px; }
.channel-cols h3 { margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.ticks.later li::before { background: transparent; border: 1.5px solid var(--slate); }
@media (max-width: 760px) { .channel-cols { grid-template-columns: 1fr; } }

/* ---------- revendas e confiança ---------- */
.mist { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.split > div { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- contato ---------- */
.contact { text-align: left; }
.contact .mail {
  display: inline-block; margin-top: 28px;
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4.4vw, 48px);
  color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--brass); line-height: 1.25;
  overflow-wrap: anywhere;
}
.contact .mail:hover { color: var(--navy-deep); }

/* ---------- rodapé ---------- */
.foot { background: var(--navy-deep); color: #a9b6c9; padding: 48px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot img { height: 28px; width: auto; }
.foot a { color: #dfe5ef; }
.foot .langs { border-left-color: rgba(255, 255, 255, .2); }
.foot .langs a { color: #a9b6c9; }
.foot .langs a[aria-current='page'] { color: var(--white); }
.foot-meta { display: flex; flex-direction: column; gap: 4px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* Âncoras não ficam escondidas sob o cabeçalho fixo */
section[id] { scroll-margin-top: 76px; }
