@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --marinho: #12204A;
  --marinho-2: #1C2D66;
  --asfalto: #0B1330;
  --branca: #F2F4F5;
  --amarela: #FFD400;
  --ciano: #00A0E3;
  --magenta: #D6007A;
  --magenta-escuro: #B30066;
  --tinta: #12204A;
  --tinta-2: #3D4A72;
  --claro-2: #B9C3E6;

  --m: 56px; /* distância entre ilhós: o módulo da página */
  --edge: max(16px, min(5vw, 72px));
  --hem: 28px;
  --ring: var(--amarela);
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: var(--ciano) var(--asfalto);
}

body {
  margin: 0;
  background: var(--asfalto);
  color: var(--branca);
  font: 420 17px/1.55 'Archivo', system-ui, sans-serif;
  caret-color: var(--magenta);
}

::selection { background: var(--magenta); color: #fff; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p, li { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--amarela); color: var(--tinta); font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- lona: o material de toda seção ---------- */
.lona {
  /* ilhós em traço de uma tinta, mesma linguagem das cotas; a linha é a costura da bainha */
  --ilhos-ink: rgb(242 244 245 / .7);
  --ilhos: radial-gradient(circle at 50% 50%, transparent 0 4.5px, var(--ilhos-ink) 5px 7.5px, transparent 8px);
  position: relative;
  margin-block: 10px;
  padding: calc(var(--hem) + var(--m)) var(--edge);
  background-color: var(--marinho);
  box-shadow: 0 18px 30px -18px rgb(0 0 0 / .55);
}
.lona::before, .lona::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: var(--hem);
  background:
    var(--ilhos) calc(var(--m) / 2) 50% / var(--m) 100% repeat-x,
    linear-gradient(0deg, var(--ilhos-ink) 0 1px, transparent 1px) 0 100% / 8px 100% repeat-x;
  opacity: .9;
  pointer-events: none;
}
.lona::before { top: 0; }
.lona::after { bottom: 0; transform: scaleY(-1); }

.lona-branca { background-color: var(--branca); color: var(--tinta); --ring: var(--magenta); --ilhos-ink: rgb(18 32 74 / .5); }
.lona-amarela { background-color: var(--amarela); color: var(--tinta); --ring: var(--magenta); --ilhos-ink: rgb(18 32 74 / .55); }
.lona-marinho { background-color: var(--marinho); }

/* ---------- topo ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px var(--edge);
  background: rgb(11 19 48 / .94);
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
@supports (backdrop-filter: blur(8px)) {
  .top { background: rgb(11 19 48 / .82); backdrop-filter: blur(10px) saturate(1.3); }
}
.brand { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; min-height: 44px; }
.petalas { width: 38px; height: 25px; flex: none; margin-bottom: 6px; }
.wordmark { font-weight: 860; font-stretch: 100%; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.wordmark b { font-weight: inherit; }
.wordmark b + b { color: var(--ciano); }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: var(--claro-2);
  transition-property: color, background-color;
  transition-duration: 150ms;
}
.top nav a:hover { color: #fff; background: rgb(255 255 255 / .06); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--magenta);
  color: #fff;
  font: inherit;
  font-weight: 760;
  font-stretch: 92%;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 6px 14px -6px rgb(0 0 0 / .35);
  transition-property: transform, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.btn:hover { background: var(--magenta-escuro); }
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn-line { background: transparent; border-color: currentColor; box-shadow: none; color: inherit; }
.btn-line:hover { background: rgb(255 255 255 / .08); }
.lona-branca .btn-line:hover, .lona-amarela .btn-line:hover { background: rgb(18 32 74 / .07); }

.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #fff;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.count[hidden] { display: none; }

/* linha de corte da plotter: o estado "escolhido" */
.cut {
  --ant: var(--magenta);
  background-image:
    linear-gradient(90deg, var(--ant) 50%, transparent 0),
    linear-gradient(90deg, var(--ant) 50%, transparent 0),
    linear-gradient(0deg, var(--ant) 50%, transparent 0),
    linear-gradient(0deg, var(--ant) 50%, transparent 0);
  background-size: 12px 2px, 12px 2px, 2px 12px, 2px 12px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  animation: ants .7s linear infinite;
}
@keyframes ants {
  to { background-position: 12px 0, -12px 100%, 0 -12px, 100% 12px; }
}

/* ---------- capa ---------- */
.lona-hero {
  margin-top: 0;
  min-height: min(100svh - 64px, 980px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--hem) + var(--m) * 1.25);
  overflow: hidden;
}
.hero-in { width: 100%; max-width: 1360px; margin-inline: auto; }

.reg {
  position: relative;
  font-size: clamp(3.3rem, 10.6vw, 9.25rem);
  font-weight: 900;
  font-stretch: 74%;
  line-height: .86;
  letter-spacing: -.012em;
  text-transform: uppercase;
  max-width: 8.4em;
  color: var(--branca);
}
.reg-base { display: block; }
/* marcas de registro da prova: o rastro do registro CMYK que fica em repouso */
.reg::before, .reg::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%2300A0E3' stroke-width='1.4'%3E%3Ccircle cx='14' cy='14' r='7'/%3E%3Cpath d='M14 0v28M0 14h28'/%3E%3Ccircle cx='14' cy='14' r='2.5' fill='%2300A0E3'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.reg::before { top: -.12em; left: -40px; }
.reg::after { bottom: -.02em; right: 0; }
@media (max-width: 760px) { .reg::before { display: none; } .reg::after { width: 22px; height: 22px; bottom: auto; top: -34px; } }
.reg-ink {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: registro 1.5s var(--ease) .25s both;
}
.reg-ink.c { color: #00AEEF; --dx: -.05em; --dy: -.025em; }
.reg-ink.m { color: #EC008C; --dx: .045em; --dy: .02em; }
.reg-ink.y { color: #FFF200; --dx: -.015em; --dy: .05em; }
@keyframes registro {
  from { transform: translate(var(--dx), var(--dy)); }
  to { transform: none; }
}

.lead {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--claro-2);
}

.pick { margin-top: var(--m); }
@media (min-width: 1100px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--m); align-items: end; }
  .reg { grid-column: 1 / -1; }
  .lead { margin-top: var(--m); align-self: start; }
  .pick { margin-top: var(--m); }
}
.pick-title { margin: 0 0 14px; font-weight: 700; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background-color: var(--marinho-2);
  box-shadow: 0 0 0 1.5px rgb(185 195 230 / .45) inset;
  color: var(--branca);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition-property: transform, background-color, color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.chip:hover { background-color: #26397C; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background-color: var(--branca); color: var(--tinta); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.cota { position: absolute; color: var(--ciano); font-size: 13px; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
.cota span { background: var(--marinho); padding: 0 10px; position: relative; }
.cota-x {
  top: calc(var(--hem) + 18px);
  left: var(--edge); right: var(--edge);
  border-top: 1px solid currentColor;
  text-align: center;
}
.cota-x span { top: -.8em; }
.cota-x::before, .cota-x::after { content: ''; position: absolute; top: -7px; width: 1px; height: 13px; background: currentColor; }
.cota-x::before { left: 0; }
.cota-x::after { right: 0; }
.cota-y {
  top: calc(var(--hem) + 44px);
  bottom: calc(var(--hem) + 18px);
  right: calc(var(--edge) / 2 - 1px);
  border-left: 1px solid currentColor;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cota-y span { left: -.75em; padding: 10px 0; }
.cota-y::before, .cota-y::after { content: ''; position: absolute; left: -7px; width: 13px; height: 1px; background: currentColor; }
.cota-y::before { top: 0; }
.cota-y::after { bottom: 0; }

/* ---------- títulos de seção ---------- */
.sec-title {
  font-size: clamp(2.6rem, 6.4vw, 5.5rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .96;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* ---------- serviços ---------- */
.servicos { padding: calc(var(--m) * 1.5) 0 0; }
.servicos > .sec-title, .sec-lead { padding-inline: var(--edge); max-width: 1360px; margin-inline: auto; }
.sec-lead { margin-top: 16px; margin-bottom: var(--m); color: var(--claro-2); max-width: calc(36em + var(--edge) * 2); margin-left: max(0px, (100% - 1360px) / 2); }

.peca {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--m);
  align-items: center;
}
.peca > * { min-width: 0; }
.peca-flip .fotos { order: 2; }
.peca-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.fotos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.fotos figure { margin: 0; }
.fotos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  outline: 1px solid rgb(0 0 0 / .12);
  outline-offset: -1px;
  box-shadow: 0 14px 24px -14px rgb(0 0 0 / .5);
}
.lona-marinho .fotos img { outline-color: rgb(255 255 255 / .1); }
.peca:not(.peca-wide) .fotos { max-width: 460px; }
.peca-flip .fotos { justify-self: end; }

.verso { max-width: 34em; }
.verso h3 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .9;
  text-transform: uppercase;
}
.verso > p { margin: 16px 0 0; }
.lona-branca .verso > p, .lona-amarela .verso > p { color: var(--tinta-2); }
.lona-marinho .verso > p { color: var(--claro-2); }
.verso .ask-title { margin-top: 28px; font-weight: 750; color: inherit; }
.ask { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ask li { display: flex; gap: 12px; align-items: baseline; }
.ask li::before { content: ''; flex: none; width: 9px; height: 9px; background: var(--ciano); transform: translateY(-1px); }
.lona-amarela .ask li::before { background: var(--tinta); }

.add {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background-color: transparent;
  box-shadow: 0 0 0 2px currentColor inset;
  color: inherit;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition-property: transform, background-color, color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.add svg { width: 20px; height: 20px; }
.add:hover { background-color: rgb(127 127 127 / .12); }
.add:active { transform: scale(.97); }
.add[aria-pressed="true"] { color: var(--magenta); box-shadow: none; background-color: rgb(214 0 122 / .07); }
.lona-marinho .add[aria-pressed="true"] { color: #fff; background-color: rgb(214 0 122 / .25); }
.lona-amarela .add[aria-pressed="true"] { color: var(--tinta); background-color: rgb(255 255 255 / .55); }

/* ---------- estrutura ---------- */
.estrutura {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--m);
  align-items: center;
}
.estrutura-foto { margin: 0; }
.estrutura-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 2px; outline: 1px solid rgb(255 255 255 / .1); outline-offset: -1px; }
.estrutura-texto > p { max-width: 32em; margin: 20px 0 0; color: var(--claro-2); font-size: 19px; }
.maquinas { list-style: none; margin: var(--m) 0 0; padding: 0; display: grid; gap: 4px; }
.maquinas li { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 18px; border-top: 1px solid rgb(185 195 230 / .2); padding-top: 8px; }
.maquinas b {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .95;
  text-transform: uppercase;
  color: var(--amarela);
}
.maquinas span { color: var(--claro-2); }
.envio { font-weight: 700; color: var(--branca) !important; }

/* ---------- orçamento ---------- */
.orcamento {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--m) calc(var(--m) * 1.25);
  align-items: start;
}
.orc-head { grid-column: 1 / -1; }
.orc-head p { max-width: 36em; margin: 16px 0 0; color: var(--tinta-2); font-size: 19px; }

.quote { display: grid; gap: 22px; }
.quote fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote legend, .quote label { font-weight: 750; }
.quote legend { padding: 0; margin-bottom: 10px; }
.quote > label, .fields label { display: grid; gap: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.quote input:not([type]), .quote input[name], .quote textarea {
  font: inherit;
  font-weight: 450;
  color: var(--tinta);
  background: #fff;
  border: 2px solid var(--tinta);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 52px;
  width: 100%;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
}
.quote textarea { resize: vertical; min-height: 96px; }
.quote ::placeholder { color: #5D6787; }
.quote input:focus-visible, .quote textarea:focus-visible { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgb(214 0 122 / .3); }
.quote input[aria-invalid="true"] { border-color: var(--magenta); }

.checks, .radios { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label, .radios label { position: relative; display: block; cursor: pointer; }
.checks input, .radios input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.checks span, .radios span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
  background-color: rgb(255 255 255 / .55);
  box-shadow: 0 0 0 2px var(--tinta) inset;
  font-weight: 650;
  transition-property: background-color, color, box-shadow;
  transition-duration: 150ms;
}
.checks label:hover span, .radios label:hover span { background-color: #fff; }
.checks input:checked + span, .radios input:checked + span { background-color: var(--tinta); color: var(--branca); box-shadow: none; }
.checks input:focus-visible + span, .radios input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 3px; }

.error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--tinta);
  color: #fff;
  font-weight: 650;
}
.error[hidden] { display: none; }
.send { width: 100%; min-height: 58px; font-size: 18px; }

.preview { position: sticky; top: 96px; }
.preview-title { margin: 0 0 10px; font-weight: 750; }
.bubble {
  position: relative;
  margin: 0;
  padding: 18px 20px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  color: var(--tinta);
  font: 450 15px/1.55 'Archivo', system-ui, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px rgb(18 32 74 / .12), 0 16px 28px -16px rgb(18 32 74 / .45);
}

/* ---------- onde ---------- */
.onde > p { max-width: 34em; margin: 18px 0 0; color: var(--claro-2); font-size: 19px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- rodapé ---------- */
.foot { padding: var(--m) var(--edge) calc(var(--m) * 1.5); color: var(--claro-2); }
.foot p { margin: 14px 0 6px; }
.foot small { font-size: 14px; }

.mobile-bar { display: none; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  :root { --m: 40px; --hem: 24px; }
  .peca, .peca-wide, .estrutura, .orcamento { grid-template-columns: minmax(0, 1fr); }
  .peca-flip .fotos { order: 0; justify-self: start; }
  .peca:not(.peca-wide) .fotos { max-width: 360px; }
  .preview { position: static; }
  .cota-y { display: none; }
  .estrutura-foto img { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .top { gap: 12px; }
  .top nav { display: none; }
  .top .btn-sm { display: none; }
  .lona-hero { min-height: 0; }
  .peca-evento .fotos { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peca-evento .fotos figure:first-child { grid-column: 1 / -1; }
  .peca-evento .fotos figure:first-child img { aspect-ratio: 4 / 3; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .actions .btn, .links .btn { flex: 1 1 100%; }

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(11 19 48 / .96);
    border-top: 1px solid rgb(255 255 255 / .1);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 6px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 0 0 2px rgb(242 244 245 / .7) inset;
  }
  .mobile-bar a.go { background: var(--magenta); color: #fff; box-shadow: none; }
  .mobile-bar svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reg-ink, .cut { animation: none; }
  .btn:active, .chip:active, .add:active { transform: none; }
}

/* crédito da agência no fim do rodapé */
.mvc-credito { margin-top: 12px; font-size: 13px; }
.mvc-credito a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
