:root {
  --paper: #F4F5F3;
  --sheet: #FFFFFF;
  --ink: #1C1E22;
  --ink-2: #4A4E57;
  --rule: #D5D8D4;
  --c: #00A0DC;
  --m: #E2007A;
  --y: #FFE100;
  --font: "Archivo", system-ui, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-stretch: 112%; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 38em; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: 1.25rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }

/* Header: faixa CMYK é a assinatura da marca */
.site-header {
  padding-top: 6px;
  background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 0 50%, var(--y) 0 75%, var(--ink) 0) top / 100% 6px no-repeat;
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem;
  padding-block: 1rem;
}
.logo { font-weight: 800; font-stretch: 125%; font-size: 1.5rem; text-decoration: none; letter-spacing: -.02em; }
.logo img { display: block; height: clamp(3.5rem, 6vw, 4.25rem); width: auto; }
.nav { display: flex; gap: .25rem; margin-right: auto; }

/* Menu: no hover, uma folha sai da "bandeja" (o traço no topo), como no logo */
.nav a {
  position: relative; isolation: isolate;
  padding: .5rem .8rem 1rem;
  text-decoration: none; font-weight: 500;
}
.nav a::before {
  content: ""; position: absolute; top: 0; left: .2rem; right: .2rem; height: 3px;
  border-radius: 2px; background: var(--ink);
  scale: .4 1; opacity: 0;
  transition: scale .25s, opacity .25s;
}
.nav a::after {
  content: ""; position: absolute; inset: 2px .45rem 0; z-index: -1;
  background:
    linear-gradient(var(--rule) 0 0) .45rem calc(100% - .55rem) / 55% 2px no-repeat,
    linear-gradient(var(--rule) 0 0) .45rem calc(100% - .3rem) / 35% 2px no-repeat,
    var(--sheet);
  box-shadow: 0 2px 4px rgba(28,30,34,.14);
  clip-path: inset(0 -6px 100% -6px);
  translate: 0 -.5rem;
  transition: clip-path .4s cubic-bezier(.3,.7,.3,1), translate .4s cubic-bezier(.3,.7,.3,1);
}
.nav a:hover::before, .nav a[aria-current="page"]::before { scale: 1; opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { clip-path: inset(0 -6px -8px -6px); translate: 0 0; }

/* Títulos sobem ao carregar */
@keyframes rise { from { opacity: 0; translate: 0 1.25rem; } }

/* Títulos são "impressos" de cima para baixo, em passadas, com a cabeça de impressão descendo */
h1 { position: relative; animation: print-down .5s steps(14) both; }
h1::after {
  content: ""; position: absolute; left: -.25em; right: -.25em; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--c), var(--m), var(--y));
  translate: 0 -100%;
  animation: print-head .5s steps(14) both;
}
@keyframes print-down {
  from { clip-path: inset(-.3em -.3em 100% -.3em); }
  to { clip-path: inset(-.3em); }
}
@keyframes print-head {
  0% { top: 0; opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.hero .lead { animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }

/* Botões */
.btn {
  display: inline-block; padding: .8rem 1.4rem;
  font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 4px;
}
.btn-primary { background: var(--ink); color: var(--sheet); }
.btn-primary:hover { background: #000; }
.btn-secondary:hover { background: var(--sheet); }

/* WhatsApp: verde claro com texto verde-escuro */
.btn-wa, .wa-float {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  display: inline-flex; align-items: center; gap: .55rem;
  background: #CFF3DA; color: #0B5A2F; border-color: #CFF3DA; border-radius: 12px;
}
.btn-wa::before, .wa-float::before {
  content: ""; width: 1.3em; height: 1.3em; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
  mask: var(--wa-icon) center / contain no-repeat;
}
.btn-wa:hover, .wa-float:hover { background: #B8ECC8; border-color: #B8ECC8; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }

/* Seções */
.section { padding-block: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--rule); }
.flush { border-top: 0; padding-top: 0; }
.more { margin-top: 2rem; }
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.2fr 1fr; }
.hero h1 { max-width: 16ch; }

/* Folha de teste com marcas de corte */
.sheet {
  --o: 1.25rem; --l: .875rem;
  margin: 0; padding: var(--o);
  background:
    linear-gradient(var(--ink) 0 0) 0 var(--o) / var(--l) 1px,
    linear-gradient(var(--ink) 0 0) var(--o) 0 / 1px var(--l),
    linear-gradient(var(--ink) 0 0) 100% var(--o) / var(--l) 1px,
    linear-gradient(var(--ink) 0 0) calc(100% - var(--o)) 0 / 1px var(--l),
    linear-gradient(var(--ink) 0 0) 0 calc(100% - var(--o)) / var(--l) 1px,
    linear-gradient(var(--ink) 0 0) var(--o) 100% / 1px var(--l),
    linear-gradient(var(--ink) 0 0) 100% calc(100% - var(--o)) / var(--l) 1px,
    linear-gradient(var(--ink) 0 0) calc(100% - var(--o)) 100% / 1px var(--l);
  background-repeat: no-repeat;
}
.page { background: var(--sheet); padding: 1.5rem; box-shadow: 0 1px 2px rgba(28,30,34,.12); }
.page-title { font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.nozzle { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem .75rem; align-items: center; font-size: .8125rem; font-weight: 700; }
.nozzle .row {
  --a: linear-gradient(90deg, currentColor 0 1.5px, transparent 0) 0 0 / 8px 50% repeat-x;
  --b: linear-gradient(90deg, currentColor 0 1.5px, transparent 0) 4px 100% / 8px 50% repeat-x;
  height: 2.25rem;
  background: var(--a), var(--b);
  animation: print .9s steps(24) both;
}
.row.c { color: var(--c); }
.row.m { color: var(--m); animation-delay: .15s; }
.row.y { color: #E5C800; animation-delay: .3s; }
.row.k { color: var(--ink); animation-delay: .45s;
  /* falhas = bicos entupidos */
  background:
    linear-gradient(var(--sheet) 0 0) 22% 0 / 18px 50% no-repeat,
    linear-gradient(var(--sheet) 0 0) 58% 100% / 26px 50% no-repeat,
    linear-gradient(var(--sheet) 0 0) 81% 0 / 12px 100% no-repeat,
    var(--a), var(--b);
}
@keyframes print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.sheet figcaption { margin-top: 1rem; font-size: .9375rem; color: var(--ink-2); max-width: 34em; }

/* Clientes: duas listas iguais lado a lado andando -100% = loop contínuo */
.clients { padding-block: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--rule); }
.clients p { margin-bottom: 1rem; font-size: .9375rem; }
.marquee {
  --n: 6;
  container-type: inline-size;
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  flex: none; display: flex; margin: 0; padding: 0; list-style: none;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li {
  flex: none; width: calc(100cqi / var(--n)); height: 4.5rem;
  display: grid; place-items: center; padding-inline: 1rem; text-align: center;
  font-weight: 700; font-stretch: 112%; line-height: 1.2; color: var(--ink-2);
}
.marquee img { max-width: 100%; max-height: 3rem; object-fit: contain; }
@keyframes marquee { to { translate: -100%; } }

/* Seções alternadas: papel / folha branca, e uma faixa de tinta para a locação.
   Com a troca de fundo, a linha divisória fica redundante. */
.alt { background: var(--sheet); }
.ink { background: var(--ink); color: #E6E8EB; }
.ink .muted { color: #A9AEB7; }
.alt, .ink, .alt + .section, .ink + .section { border-top: 0; }

/* Lista de serviços */
.services { list-style: none; margin: 2rem 0; padding: 0; border-top: 2px solid var(--ink); }
.services li { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: .5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.services h3, .services p { margin: 0; }

/* Passos (sequência real) */
.steps { list-style: none; counter-reset: s; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: s; position: relative; }
/* Ligação: picote tracejado do número até o próximo passo (ponta encosta no número seguinte) */
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.5rem; left: 3.5rem; right: -1.25rem;
  border-top: 2px dashed var(--ink-2);
}
.steps li::before { content: counter(s); display: block; font-size: 3rem; font-weight: 800; font-stretch: 125%; line-height: 1; margin-bottom: .75rem; }

.brands { font-size: 1.25rem; font-weight: 600; max-width: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding-block: 1.1rem; max-width: 46rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.125rem; }
.faq details p { margin: .75rem 0 0; color: var(--ink-2); }

/* Contato */
.contact, .perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; margin-top: 2rem; }
.contact h3, .perks h3 { font-size: 1rem; font-stretch: 100%; margin-bottom: .25rem; }
.contact p, .perks p { margin: 0; }
.perks h3 { font-size: 1.125rem; font-stretch: 112%; }

/* Serviços (página) */
.service-detail { display: grid; grid-template-columns: minmax(14rem, 1fr) 2fr; gap: 1rem 3rem; padding-block: 2.5rem; border-bottom: 1px solid var(--rule); }
.service-detail h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
.service-detail:first-of-type { border-top: 2px solid var(--ink); }
.service-detail ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.service-detail li + li { margin-top: .35rem; }

/* Rodapé */
.site-footer { background: var(--ink); color: #D9DBDF; padding-block: 3rem 5rem; font-size: .9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; }
.site-footer .logo { color: var(--sheet); }
.site-footer p { margin: 0 0 .35rem; }

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(28,30,34,.3);
  transition: scale .2s;
}
.wa-float::before { width: 1.75rem; height: 1.75rem; }
.wa-float:hover { scale: 1.08; }

@media (max-width: 52rem) {
  .hero .wrap, .services li, .service-detail { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2n)::after { display: none; }
}
@media (max-width: 40rem) {
  .site-header .btn { display: none; }
  .nav { width: 100%; order: 3; flex-wrap: wrap; }
  .nav a { padding-inline: .5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-left: 4rem; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li:nth-child(2n)::after { display: block; }
  .steps li:not(:last-child)::after { top: 3.5rem; bottom: -1.5rem; left: 1rem; right: auto; border-top: 0; border-left: 2px dashed var(--ink-2); }
  .marquee { --n: 3; }
  .marquee li { font-size: .875rem; padding-inline: .5rem; }
  .wa-float { right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
