/* Recycle Distribuidora — identidade: grafite #231F20, azul #00AFF0, branco */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-latin.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;
}

:root {
  --ink: #231f20;
  --ink-2: #4a4547;
  --cyan: #00aff0;
  --cyan-text: #00709c;   /* azul escuro para texto sobre branco (contraste AA) */
  --paper: #f4f7f9;
  --line: #dce3e8;
  --white: #fff;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(35 31 32 / .06), 0 8px 24px rgb(35 31 32 / .06);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: #33bff4; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; }

.link { color: var(--cyan-text); font-weight: 700; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

.eyebrow {
  font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-text); margin-bottom: .75rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--cyan); }
.hero .eyebrow { color: var(--cyan-text); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; }
.nav ul a { text-decoration: none; font-weight: 600; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--cyan); }
.nav ul a[aria-current="true"] { border-bottom-color: var(--cyan); color: var(--cyan-text); }
.nav-cta { min-height: 44px; padding-block: .5rem; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper), var(--white) 85%); padding: 3.25rem 0 0; position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; padding-bottom: 3rem; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.hero .lead { margin-top: 1.25rem; font-size: 1.25rem; color: var(--ink-2); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }


.card-icon {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: var(--ink); stroke: var(--cyan); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.hero-art { position: relative; border-radius: 20px; overflow: hidden; background: #e8f7fd; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-art .hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 1122; object-fit: cover; }
.hero-art::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; z-index: 1; background: linear-gradient(90deg, var(--ink) 50%, var(--cyan) 50%); }

/* Faixa com setas nas pontas, ecoando a logomarca */
/* Slogan na faixa de setas: Acessórios · Recargas · Toners */
.slogan { --tip: 11px; display: flex; width: min(1160px, 100% - 2.5rem); margin: 0 auto; }
.slogan li {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 32px; padding: .2rem .75rem;
  font-size: clamp(.78rem, 1.6vw, 1rem); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center;
}
.slogan li:nth-child(1) { background: var(--ink); color: var(--white); clip-path: polygon(0 50%, var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%); }
.slogan li:nth-child(2) { background: var(--cyan); color: var(--ink); }
.slogan li:nth-child(3) { background: var(--ink); color: var(--white); clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); }
@media (max-width: 620px) {
  .slogan { --tip: 7px; }
  .slogan li { min-height: 26px; padding: .15rem .25rem; font-size: .72rem; letter-spacing: .04em; }
}
@media (max-width: 360px) {
  .slogan li { font-size: .68rem; letter-spacing: .02em; }
}

/* ---------- Seções ---------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head h2, .about h2, .quote-intro h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); font-size: 1.125rem; }

/* Produtos */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.card-body { display: flex; flex-direction: column; gap: .75rem; padding: 0 1.75rem 1.75rem; }
.card-body .card-icon { margin-top: -22px; box-shadow: 0 0 0 4px var(--white); position: relative; }
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; margin-top: .5rem; }
.card p { color: var(--ink-2); }
.card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .25rem; padding-block: .5rem; }
.card-link .icon { width: 18px; height: 18px; transition: transform .15s; }
.card-link:hover .icon { transform: translateX(3px); }

/* Cartão em destaque (PC e tablet): ocupa 2 colunas, foto ao lado do texto */
.card-featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.card-featured .card-photo { height: 100%; aspect-ratio: auto; }
.card-featured .card-body { justify-content: center; padding: 1.75rem; }
.card-featured .card-body .card-icon { margin-top: 0; box-shadow: none; }
.card-featured h3 { font-size: 1.5rem; margin-top: .25rem; }
.card-featured p { font-size: 1.0625rem; }

/* Chamada final: faixa de largura total */
.card-cta {
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--paper); border-style: dashed; padding: 1.75rem 2rem;
}
.card-cta:hover { transform: none; }
.card-cta h3 { margin-top: 0; }
.card-cta p { margin-top: .25rem; }

/* Serviços */
.section-dark .section-head h2 { color: var(--white); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.services-cta { margin-top: 2.5rem; }
.services li { border-top: 3px solid var(--cyan); padding-top: 1.5rem; }
.services .num { display: block; font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--cyan); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.services h3 { font-size: 1.3rem; }
.services p { margin-top: .6rem; color: #d3d0d1; }

/* Empresa */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about > div > p { margin-top: 1.25rem; color: var(--ink-2); }
.points { display: grid; gap: 1rem; }
.about-cta { margin-top: 1.75rem; }
.points li { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.25rem 1.5rem; background: var(--paper); border-radius: 18px; }
.point-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--cyan); }
.points h3 { font-size: 1.1rem; }
.points p { margin-top: .25rem; color: var(--ink-2); }

/* Orçamento */
.quote-section { position: relative; overflow: hidden; isolation: isolate; }
.quote-section::before { /* brilho azul no canto, como no painel "Visite a loja" */
  content: ""; position: absolute; z-index: -1; left: -140px; bottom: -160px; width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgb(0 175 240 / .24), transparent);
}
.quote-section::after { /* ponta de seta da marca */
  content: ""; position: absolute; z-index: -1; right: -70px; top: 36px; width: 280px; height: 280px;
  background: var(--cyan); opacity: .07; clip-path: polygon(0 0, 58% 0, 100% 50%, 58% 100%, 0 100%, 42% 50%);
}
.quote { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
@media (min-width: 981px) and (min-height: 760px) { /* só em telas altas: se for mais baixa que o texto, os botões ficariam cortados */
  .quote-intro { position: sticky; top: calc(var(--header-h) + 2rem); } /* acompanha o formulário ao rolar */
}
.quote-intro h2 { color: var(--white); }
.quote-lead { margin-top: 1rem; font-size: 1.125rem; color: rgb(255 255 255 / .82); }
.steps { margin-top: 2rem; display: grid; gap: 1.25rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--cyan); color: var(--cyan); font-weight: 800; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: .15rem; color: rgb(255 255 255 / .78); }
.quote-direct { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / .18); }
.quote-direct-title { margin-bottom: .9rem; font-weight: 700; }
.quote-direct-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-outline-light { border-color: rgb(255 255 255 / .6); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.quote-intro :focus-visible { outline-color: var(--white); }

.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 2.25rem; box-shadow: 0 24px 60px rgb(0 0 0 / .35); display: grid; gap: 1.1rem; }
.form-head h3 { font-size: 1.5rem; font-weight: 800; }
.form-head p { margin-top: .25rem; color: var(--ink-2); font-size: .9375rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .check { font-weight: 700; font-size: .975rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #6f7b83; border-radius: 10px; padding: .75rem .9rem; min-height: 48px;
}
textarea { resize: vertical; min-height: 120px; }
select {
  -webkit-appearance: none; appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .9rem; font-weight: 600; }
.error[hidden] { display: none; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; min-height: 44px; padding-block: .25rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--ink); }
.check a { color: var(--cyan-text); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #0b6b3a; }
.form-status.fail { color: var(--danger); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.25rem; align-items: stretch; }

/* Painel escuro "Visite a loja" */
.visit {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 2.25rem; border-radius: 24px; background: var(--ink); color: var(--white);
}
.visit::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 320px; height: 320px;
  background: radial-gradient(closest-side, rgb(0 175 240 / .38), transparent);
}
.visit::after { /* ponta de seta, ecoa o símbolo da marca */
  content: ""; position: absolute; z-index: -1; right: -36px; bottom: -36px; width: 210px; height: 210px;
  background: var(--cyan); opacity: .13;
  clip-path: polygon(0 0, 58% 0, 100% 50%, 58% 100%, 0 100%, 42% 50%);
}
.visit-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cyan); color: var(--ink); }
.visit-icon .icon { width: 26px; height: 26px; }
.visit h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; }
.visit address { font-size: 1.1875rem; line-height: 1.6; color: rgb(255 255 255 / .82); }
.visit address strong { color: var(--white); font-weight: 700; }
.visit-hours { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.5; color: rgb(255 255 255 / .82); }
.visit-hours .icon { margin-top: .15rem; color: var(--cyan); }
.visit-hours strong { color: var(--white); font-weight: 700; }
.visit .btn { margin-top: auto; }
.visit :focus-visible { outline-color: var(--white); }

/* Canais de contato: cada linha inteira é um link */
.reach { display: grid; gap: .875rem; }
.reach li { display: flex; }
.reach-item {
  flex: 1; display: flex; align-items: center; gap: 1.1rem; min-height: 88px; padding: 1.1rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-decoration: none;
  transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s;
}
.reach-item:active { transform: scale(.99); }
.reach-item:hover { border-color: var(--cyan); background: var(--paper); box-shadow: var(--shadow); }
.reach-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--cyan); }
.reach-whats .reach-icon { background: #25d366; color: var(--ink); }
.reach-text { display: grid; min-width: 0; line-height: 1.3; }
.reach-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.reach-value { font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); font-weight: 700; overflow-wrap: break-word; }
.reach-go { margin-left: auto; flex: none; width: 24px; height: 24px; color: var(--cyan-text); transition: transform .15s; }
.reach-item:hover .reach-go { transform: translateX(4px); }

.contact-mini a { overflow-wrap: anywhere; display: inline-block; padding-block: .55rem; }

/* Rodapé */
.site-footer { border-top: 4px solid var(--cyan); padding: 3.5rem 0 5.5rem; } /* folga para o botão de WhatsApp fixo não cobrir o último link */
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 2.5rem; }
.footer-logo { height: 52px; width: auto; }
.footer-about { margin-top: 1rem; max-width: 34ch; color: var(--ink-2); }
.footer-title { margin-bottom: .35rem; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-text); }
.footer-links a {
  display: inline-block; padding-block: .6rem; font-weight: 600; text-decoration: none; overflow-wrap: break-word;
  text-underline-offset: 4px; transition: color .15s;
}
.footer-links a:hover, .footer-privacy:hover { color: var(--cyan-text); text-decoration: underline; }
.footer-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.footer-bar--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.legal { font-size: .9375rem; color: var(--ink-2); }
.footer-privacy { display: inline-block; padding-block: .6rem; font-size: .9375rem; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Página 404 ---------- */
.notfound { max-width: 640px; padding: 4rem 0 5rem; text-align: center; display: grid; justify-items: center; }
.notfound-code {
  font-size: clamp(5rem, 22vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--cyan); margin-bottom: .5rem;
}
.notfound h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.notfound-text { margin-top: 1rem; font-size: 1.125rem; color: var(--ink-2); max-width: 46ch; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- Página de privacidade ---------- */
.doc { max-width: 720px; padding: 4rem 0 5rem; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .25rem; margin-top: .5rem; }
.doc .notice { background: var(--paper); border-left: 4px solid var(--cyan); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin-bottom: 1.5rem; }

/* ---------- WhatsApp ---------- */
.icon { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-whats { background: #25d366; color: var(--ink); }
.btn-whats:hover { background: #1fbd5b; }

/* Botão redondo fixo no canto, só com o ícone (como no site da Recycle Informática) */
.whats-float {
  position: fixed; z-index: 40;
  right: calc(1.25rem + env(safe-area-inset-right));
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 56px; height: 56px; padding: 0;
  background: #1fa855; color: var(--white);
  border-radius: 50%; box-shadow: 0 4px 14px rgb(35 31 32 / .3);
  transition: background-color .15s, transform .15s;
}
.whats-float .icon { width: 34px; height: 34px; }
.whats-float:hover { background: #188a46; transform: scale(1.06); }
.whats-float:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 6px 20px rgb(35 31 32 / .28); }

/* Voltar ao topo: aparece depois de rolar, acima do botão de WhatsApp */
.to-top {
  position: fixed; z-index: 40;
  right: calc(1.25rem + 6px + env(safe-area-inset-right));
  bottom: calc(1.25rem + 56px + .75rem + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--white); background: var(--ink); border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 4px 14px rgb(35 31 32 / .3);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #000; }
.to-top:focus-visible { outline-color: var(--cyan); }

/* Entrada suave dos blocos ao rolar (o script só ativa se o visitante não pediu menos movimento) */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Toque ---------- */
a, button, input, select, textarea, label { touch-action: manipulation; }
body { -webkit-tap-highlight-color: rgb(0 175 240 / .25); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .about, .quote { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { max-width: 520px; }
  .cards, .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .visit .btn { margin-top: .5rem; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: transparent; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }

  /* espaço para o botão de WhatsApp não cobrir o fim da página */
  .site-footer { padding-bottom: 5.5rem; }
}


@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { padding-top: 2.75rem; }
  .hero-grid { padding-bottom: 3rem; }
  .section { padding: 3.75rem 0; }
  .cards, .services, .field-row { grid-template-columns: minmax(0, 1fr); }
  /* Produtos em lista compacta: foto à esquerda, texto à direita (a página fica bem mais curta) */
  .cards { gap: .875rem; }
  .card, .card-featured { display: flex; flex-direction: row; align-items: stretch; grid-column: auto; }
  .card-photo, .card-featured .card-photo { flex: 0 0 38%; width: 38%; height: auto; aspect-ratio: auto; min-height: 128px; }
  .card-body, .card-featured .card-body { flex: 1; min-width: 0; justify-content: center; gap: .25rem; padding: 1rem 1.1rem; }
  .card-body .card-icon { display: none; }
  .card h3, .card-featured h3 { margin-top: 0; font-size: 1.0625rem; }
  .card p, .card-featured p { font-size: .9375rem; line-height: 1.5; }
  .card:hover { transform: none; }
  .card-cta { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.25rem; }
  .form { padding: 1.25rem; border-radius: 20px; }
  .quote-direct-actions .btn { width: 100%; }
  .visit { padding: 1.75rem; border-radius: 20px; }
  .visit .btn { width: 100%; }
  .reach-item { gap: .875rem; padding: 1rem; border-radius: 16px; }
  .reach-icon { width: 44px; height: 44px; }
  .reach-value { font-size: 1.0625rem; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .brand img { height: 40px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Régua de marcas (carrossel contínuo) ---------- */
.brands { padding: 2.75rem 0 .5rem; }
.brands-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.brands-title { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-text); }
.marquee-toggle {
  min-height: 44px; padding: .4rem 1rem; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); white-space: nowrap; flex: none;
  background: var(--white); border: 1.5px solid #6f7b83; border-radius: 999px; cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--ink); background: var(--paper); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 3.5rem; padding: 1.1rem 3.5rem 1.1rem 0; flex: none; }
.marquee-set li { flex: none; display: grid; place-items: center; height: 64px; }
.marquee-set img { width: var(--w); height: auto; max-height: 56px; object-fit: contain; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

@media (max-width: 620px) {
  .marquee-set { gap: 2.25rem; padding-right: 2.25rem; }
  .marquee-set li { height: 52px; }
  .marquee-set img { width: calc(var(--w) * .8); max-height: 46px; }
}

/* quem pede menos movimento vê as marcas paradas, em linha que quebra */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-set[aria-hidden="true"], .marquee-toggle { display: none; }
}

/* ---------- Serviços com foto lateral (encostada na borda direita) ---------- */
.services-section { position: relative; overflow: clip; --photo-w: clamp(260px, 27vw, 480px); }
.services-photo { position: absolute; inset: 0 0 0 auto; width: var(--photo-w); height: 100%; object-fit: cover; object-position: 45% 50%; }
/* o conteúdo para antes da foto: afasta o que passaria por baixo dela */
.services-content { padding-right: max(0px, calc(var(--photo-w) - (100% - min(1160px, 100% - 2.5rem)) / 2 + 2rem)); }

@media (max-width: 980px) {
  /* sem espaço lateral: a foto vira faixa no topo da seção */
  .services-section { --photo-w: 100%; }
  .services-photo { position: static; display: block; width: 100%; height: 260px; margin: -5.5rem 0 3rem; }
  .services-content { padding-right: 0; }
}
@media (max-width: 620px) {
  .services-photo { height: 220px; margin-top: -3.75rem; margin-bottom: 2rem; }
}
