/* Apresentação comercial — DMarcos Transporte e Logística
   Cada slide é desenhado em 1920 × 1080 px (16:9).
   Na tela, os slides são reduzidos para caber na janela; na impressão, cada slide vira uma página. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: block;
  font-weight: 100 900;
  src: url('assets/fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: block;
  font-weight: 100 900;
  src: url('assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

/* Paleta oficial — Manual da Marca DMarcos (2026) */
:root {
  --red: #d71920;
  --red-deep: #a8000b;
  --black: #101010;
  --black-2: #1a1a1c;
  --white: #ffffff;
  --gray: #666666;
  --paper: #f3f2ef;
  --line: #e6e4df;
  --s: 1; /* escala de tela, ajustada pelo script */
}

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

html { background: #2a2a2c; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Visualização na tela ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: rgba(16, 16, 16, 0.92);
  color: #fff; font-size: 13px; letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.toolbar span { opacity: 0.7; }
.toolbar__actions { display: flex; gap: 8px; }
.toolbar button, .toolbar a {
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff;
}
.toolbar .primary { background: var(--red); border-color: var(--red); }
@media (max-width: 640px) {
  .toolbar { padding: 10px 16px; justify-content: center; }
  .toolbar span { display: none; }
  .toolbar button, .toolbar a { padding: 8px 14px; }
}

.deck { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 32px 24px 64px; }
.frame { overflow: hidden; width: calc(1920px * var(--s)); height: calc(1080px * var(--s)); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
@media (max-width: 640px) { .deck { gap: 16px; padding: 16px 16px 40px; } }

.exit {
  display: none; position: fixed; z-index: 20; top: 12px; right: 12px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(16,16,16,.7); color: #fff; font: 600 22px/44px 'Montserrat', sans-serif;
}
body.presenting .exit { display: block; }
.slide {
  position: relative; overflow: hidden;
  width: 1920px; height: 1080px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--white);
}

/* Modo apresentação: um slide por vez, tela cheia */
body.presenting { background: #000; overflow: hidden; }
body.presenting .toolbar { display: none; }
body.presenting .deck { padding: 0; gap: 0; height: 100vh; justify-content: center; }
body.presenting .frame { display: none; box-shadow: none; }
body.presenting .frame.is-current { display: block; }

/* ---------- Tipografia comum ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 18px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ''; width: 48px; height: 3px; background: var(--red); }
.title {
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.0;
}
.title em { font-style: normal; color: var(--red); }
.lead { font-size: 26px; line-height: 1.5; font-weight: 400; }

.caption {
  position: absolute; z-index: 3;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.foot {
  position: absolute; z-index: 3; bottom: 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray);
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { height: 26px; width: auto; }
.foot__num b { color: var(--red); font-weight: 700; }
.on-dark .foot { color: rgba(255,255,255,.55); }

.deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* ---------- 1 · Capa ---------- */
.s1 { background: var(--black); color: var(--white); }
.s1__photo {
  position: absolute; z-index: 0; top: 0; right: 0;
  width: 1100px; height: 1080px; object-fit: cover; object-position: 38% center;
}
.s1__shade { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 1100px;
  background: linear-gradient(180deg, rgba(16,16,16,.0) 55%, rgba(16,16,16,.55) 100%); }
.s1__logo { position: absolute; z-index: 3; top: 96px; left: 112px; width: 400px; }
.s1__content { position: absolute; z-index: 3; left: 112px; bottom: 200px; width: 760px; }
.s1__content .eyebrow { margin-bottom: 40px; }
.s1__content .title { font-size: 112px; margin-bottom: 44px; }
.s1__content .lead { color: rgba(255,255,255,.78); max-width: 640px; }
.s1 .foot { left: 112px; width: 640px; }
.s1 .caption { right: 48px; bottom: 56px; }

/* ---------- 2 · Soluções ---------- */
.s2__photo {
  position: absolute; z-index: 0; top: 0; left: 0;
  width: 700px; height: 1080px; object-fit: cover; object-position: 62% center;
}
.s2__bar { position: absolute; z-index: 2; top: 0; left: 700px; width: 10px; height: 1080px; background: var(--red); }
.s2 .caption { left: 40px; bottom: 56px; }
.s2__content { position: absolute; z-index: 3; top: 96px; left: 830px; width: 978px; }
.s2__content .eyebrow { margin-bottom: 32px; }
.s2__content .title { font-size: 74px; margin-bottom: 26px; }
.s2__content .lead { font-size: 23px; color: var(--gray); margin-bottom: 48px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 38px; }
.service { border-top: 2px solid var(--black); padding-top: 22px; }
.service__num { font-size: 17px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); margin-bottom: 10px; }
.service h3 { font-size: 29px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.service h3 small { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-top: 6px; }
.service p { font-size: 20px; line-height: 1.5; color: var(--gray); }
.s2 .foot { left: 830px; width: 978px; }

/* ---------- 3 · Segurança ---------- */
.s3 { background: var(--black); color: var(--white); }
/* Imagem no tamanho original (1672 × 941), presa embaixo e à direita: o topo e a esquerda se fundem no preto. */
.s3__photo {
  position: absolute; z-index: 0; bottom: 0; right: 0;
  width: 1672px; height: 941px;
}
.s3__shade { position: absolute; z-index: 1; bottom: 0; right: 0; width: 1672px; height: 941px;
  background:
    /* atrás dos três diferenciais (metade de baixo, à esquerda): fundo quase sólido para a leitura */
    linear-gradient(90deg, rgba(16,16,16,.96) 0%, rgba(16,16,16,.96) 66%, rgba(16,16,16,0) 100%) 0 100% / 36% 60% no-repeat,
    linear-gradient(90deg, var(--black) 0%, var(--black) 14%, rgba(16,16,16,.9) 24%, rgba(16,16,16,.45) 33%, rgba(16,16,16,0) 42%),
    linear-gradient(180deg, var(--black) 0%, rgba(16,16,16,.6) 9%, rgba(16,16,16,0) 22%),
    linear-gradient(0deg, rgba(16,16,16,.96) 0%, rgba(16,16,16,.88) 8%, rgba(16,16,16,0) 19%); }
.s3__content { position: absolute; z-index: 3; top: 104px; left: 112px; width: 640px; }
.s3__content .eyebrow { margin-bottom: 36px; }
.s3__content .title { font-size: 78px; margin-bottom: 64px; }
.feature { display: grid; grid-template-columns: 64px 1fr; column-gap: 28px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.feature:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.feature svg { width: 52px; height: 52px; stroke: var(--red); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.feature h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.68); }
.s3 .foot { left: 112px; width: 1696px; }
.s3 .caption { right: 48px; top: 56px; }

/* ---------- 4 · Por que a DMarcos ---------- */
.s4__panel { position: absolute; z-index: 0; top: 0; left: 0; width: 820px; height: 1080px; background: var(--red); overflow: hidden; }
.s4__mark { position: absolute; right: -210px; bottom: -120px; width: 760px; opacity: 0.12; }
.s4__intro { position: absolute; z-index: 3; top: 104px; left: 112px; width: 620px; color: var(--white); }
.s4__intro .eyebrow { color: var(--white); margin-bottom: 36px; }
.s4__intro .eyebrow::before { background: var(--white); }
.s4__intro .title { font-size: 96px; margin-bottom: 48px; }
.s4__intro .lead { font-size: 25px; color: rgba(255,255,255,.92); }
.s4__body { position: absolute; z-index: 3; top: 104px; left: 916px; width: 892px; }
.label { font-size: 16px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.reason { display: grid; grid-template-columns: 76px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.reason__num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--red); line-height: 1; }
.reason h3 { font-size: 29px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.reason p { font-size: 20px; line-height: 1.5; color: var(--gray); }
.values { margin-top: 52px; }
.values__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 20px; }
.value { border-left: 3px solid var(--black); padding-left: 20px; }
.value h4 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.value p { font-size: 17px; line-height: 1.5; color: var(--gray); }
.s4 .foot { left: 916px; width: 892px; }

/* ---------- 5 · Cotação ---------- */
.s5 { background: var(--black); color: var(--white); }
.s5__logo { position: absolute; z-index: 3; top: 96px; left: 112px; width: 360px; }
.s5__mark { position: absolute; z-index: 2; right: 150px; top: 210px; width: 520px; }
.s5__content { position: absolute; z-index: 3; left: 112px; top: 250px; width: 1400px; }
.s5__content .eyebrow { margin-bottom: 36px; }
.s5__content .title { font-size: 120px; margin-bottom: 32px; }
.s5__content .lead { color: rgba(255,255,255,.75); max-width: 820px; margin-bottom: 52px; }
.address {
  display: flex; align-items: flex-start; gap: 22px;
  margin-top: 44px; padding-top: 36px; width: 1000px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.address svg { flex: none; width: 40px; height: 40px; margin-top: 2px; stroke: var(--red); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.address__value { font-size: 24px; font-weight: 500; line-height: 1.45; color: rgba(255,255,255,.85); }
.contacts { display: grid; grid-template-columns: auto auto auto; column-gap: 72px; justify-content: start; }
.contact__label { font-size: 15px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.contact__value { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.s5 .foot { left: 112px; width: 1696px; }
