/* =========================================================
   Connect Máquinas — site institucional v2
   Tokens do DS (Trabalho/colors_and_type.css) · escala web
   ========================================================= */

:root {
  --forest:      #0A4D2E;
  --forest-900:  #063A21;
  --forest-950:  #042917;
  --forest-300:  #2E9A52;
  --forest-700:  #1C4A30;
  --flag:        #1A7A3A;
  --neon:        #AAFF00;

  --off-white:   #F0F0F0;
  --gray-100:    #EBEBEB;
  --gray-200:    #D9D9D9;
  --gray-400:    #9A9A9A;
  --gray-600:    #5A5A5A;
  --gray-900:    #1A1A1A;
  --white:       #FFFFFF;

  --font-display: 'Orbitron', 'Eurostile', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --track-wide: 0.12em;
  --track-widest: 0.22em;
  --track-display: 0.04em;

  --container: 1160px;
  --r-sm: 2px;
  --r-md: 5px;
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-stretch: 112%;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipos ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1.12;
}
h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 14.5px; font-weight: 700; letter-spacing: var(--track-wide); line-height: 1.4; }
p { max-width: 62ch; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--flag); }
.tick { width: 26px; height: 3px; background: var(--flag); flex: none; }
.tick-neon { background: var(--neon); }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out),
              background-color .22s, color .22s, border-color .22s;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .5s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }
.btn-lg { padding: 17px 34px; font-size: 14px; }

.btn-neon { background: var(--neon); color: var(--forest-950); }
.btn-neon:hover { box-shadow: 0 10px 28px rgba(170,255,0,.35); }
.btn-forest { background: var(--forest); color: var(--off-white); }
.btn-forest:hover { background: var(--flag); box-shadow: 0 10px 24px rgba(10,77,46,.3); }
.btn-ghost { border-color: rgba(240,240,240,.5); color: var(--off-white); }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--off-white); }

.ico-wa { width: 18px; height: 18px; flex: none; }

.link-neon {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--neon);
  text-decoration: none;
  transition: opacity .2s;
}
.link-neon:hover { opacity: .75; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background-color .35s var(--ease-out), box-shadow .35s, padding .35s;
}
.header-inner {
  display: flex; align-items: center; gap: 36px;
  padding-top: 20px; padding-bottom: 20px;
  transition: padding .35s var(--ease-out);
}
.header.scrolled { background: rgba(4,41,23,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header.scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }
.header-logo img { width: 190px; height: auto; transition: width .35s var(--ease-out); }
.header.scrolled .header-logo img { width: 160px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  padding: 8px 0;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--neon);
  transition: right .28s var(--ease-out);
}
.nav a:hover { color: var(--neon); }
.nav a:hover::after { right: 0; }
.header-cta { flex: none; padding: 11px 22px; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--neon); transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* (hero v1 removido — v2 usa .hero-bento / .hb-* mais abaixo) */

/* ---------- Marquee ---------- */
.marquee {
  background: var(--neon);
  overflow: hidden;
  padding: 13px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--forest-950);
  white-space: nowrap;
}
.marquee i { font-style: normal; font-weight: 800; color: var(--forest); opacity: .55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-white { background: var(--white); }
.section-paper { background: var(--gray-100); }
.section-forest { background: var(--forest); color: var(--off-white); }
.section-deep { background: var(--forest-950); color: var(--off-white); }
.section-forest p, .section-deep p { color: rgba(240,240,240,.85); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.sec-head {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sec-head h2 { margin-bottom: 0; }
.sec-lead { max-width: 56ch; }
.sec-lead-muted { color: var(--gray-600); margin-top: 12px; }

/* ---------- Serviços ---------- */
.service-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 30px 0 34px; }
.service-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-left: 4px solid var(--flag);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateX(6px);
  border-color: var(--flag);
  box-shadow: 0 14px 34px rgba(10,77,46,.12);
}
.service-card h3 { color: var(--forest); }

.ico-chip {
  width: 58px; height: 58px; flex: none;
  background: var(--forest);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s;
}
.service-card:hover .ico-chip { background: var(--forest-900); }
.ico-mask {
  display: block; width: 30px; height: 30px;
  background: var(--neon);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

/* ---------- Molduras de foto (nunca esticadas) ---------- */
.photo-frame { position: relative; }
.photo-frame img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(4,41,23,.22);
}
.photo-frame::before {
  content: '';
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--flag);
  border-radius: var(--r-md);
  z-index: -1;
}
.photo-frame figcaption,
.photo-wide figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(4,41,23,.88);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
}
.photo-wide { position: relative; margin-bottom: clamp(36px, 5vw, 56px); }
.photo-wide img {
  width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover; object-position: center 62%;
  border-radius: var(--r-md);
}

/* ---------- Produtos ---------- */
.product-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  padding: 18px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .28s var(--ease-spring), border-color .25s, box-shadow .28s;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--flag);
  box-shadow: 0 18px 40px rgba(10,77,46,.14);
}
.product-img { height: 96px; display: flex; align-items: center; }
.product-img img {
  max-height: 96px; width: auto; max-width: 100%; object-fit: contain;
  transition: transform .3s var(--ease-out);
}
.product-card:hover .product-img img { transform: scale(1.07); }
.code {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color .25s;
}
.product-card:hover .code { color: var(--forest); }
.sec-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Catálogo ---------- */
.split-catalogo { align-items: center; }
.split-catalogo .split-main .btn { margin-top: 32px; }

.cat-mockup {
  justify-self: center;
  width: min(430px, 92%);
  display: block;
  transition: transform .35s var(--ease-spring), filter .35s var(--ease-out);
}
.cat-mockup img { width: 100%; height: auto; }
.cat-mockup:hover {
  transform: translateY(-10px) rotate(-1.2deg) scale(1.015);
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.35));
}

/* ---------- Quem somos / valores ---------- */
.values {
  list-style: none;
  counter-reset: val;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  margin-top: 8px;
}
.values li {
  counter-increment: val;
  position: relative;
  padding: 22px 24px 22px 76px;
  background: var(--gray-100);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--gray-600);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.values li:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(10,77,46,.1); }
.values li:last-child { grid-column: span 2; }
.values li::before {
  content: counter(val, decimal-leading-zero);
  position: absolute; left: 24px; top: 22px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 800;
  color: var(--flag);
  border-bottom: 3px solid var(--neon);
  padding-bottom: 3px;
}
.values strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}

/* ---------- Contato ---------- */
.contact-list { list-style: none; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 4px;
}
.contact-list a {
  font-size: 20px; font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  transition: color .2s;
}
.contact-list a:hover { color: var(--neon); }

.address-card {
  background: rgba(10,77,46,.55);
  border: 1.5px solid rgba(170,255,0,.25);
  border-radius: var(--r-md);
  padding: 36px 40px;
  max-width: 430px;
  margin-left: auto;
  backdrop-filter: blur(4px);
}
.address-card address { font-style: normal; font-size: 17px; line-height: 1.75; margin: 10px 0 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-950); color: rgba(240,240,240,.75); font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 60px; padding-bottom: 44px;
}
.footer-brand img { width: 170px; height: auto; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 8px;
}
.footer-col a { color: rgba(240,240,240,.75); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--neon); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid rgba(170,255,0,.14);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 12.5px;
}

/* ---------- Sistema de reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: var(--d, 0s);
  }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr; }
  .values li:last-child { grid-column: auto; }
  .address-card { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-frame::before { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .header-inner { gap: 16px; }
  .header-logo img { width: 150px; }
  .header.scrolled .header-logo img { width: 136px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: var(--forest-950);
    flex-direction: column; gap: 4px;
    padding: 96px 28px 28px;
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,.35);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(240,240,240,.08); font-size: 13px; }
  .nav-toggle { position: relative; z-index: 120; }
  .nav { z-index: 110; }

  .marquee-track { animation-duration: 22s; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img { height: 78px; }
  .product-img img { max-height: 78px; }
  .sec-actions .btn { width: 100%; }
  .cat-mockup { width: min(320px, 92%); }
  .address-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Hero em bento + header pill no topo (primeira dobra 2.0)
   ========================================================= */
:root { --cream: #EFEAE0; }

/* Header: pill branca sobre o hero creme; forest sólido ao rolar */
.header-logo { display: inline-flex; align-items: center; }
.logo-green { display: none; }
.header:not(.scrolled) .logo-neon { display: none; }
.header:not(.scrolled) .logo-green { display: block; }
.header:not(.scrolled) .header-inner {
  background: var(--white); border-radius: 999px;
  padding: 12px 16px 12px 26px; margin-top: clamp(14px,1.5vw,22px);
  box-shadow: 0 10px 30px rgba(20,45,25,.10);
}
.header:not(.scrolled) .nav-toggle span { background: var(--forest); }
@media (min-width: 768px) {
  .header:not(.scrolled) .nav a { color: var(--forest-700); }
  .header:not(.scrolled) .nav a:hover { color: var(--forest); }
  .header:not(.scrolled) .nav a::after { background: var(--forest); }
}

.hero-bento {
  background: var(--cream);
  min-height: 100svh;
  display: flex;
  padding: clamp(86px, 10vh, 116px) clamp(14px, 1.5vw, 22px) clamp(14px, 1.5vw, 22px);
  box-sizing: border-box;
}
.hero-bento > .container { max-width: none; width: 100%; padding: 0; display: flex; }
.hb-grid { flex: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(12px, 1.3vw, 18px); align-items: stretch; }
.hb-panel { border-radius: clamp(20px, 1.8vw, 30px); overflow: hidden; }

/* header alinhado à borda do bento (full-width com o mesmo respiro) */
.header .container { max-width: none; padding-left: clamp(14px,1.5vw,22px); padding-right: clamp(14px,1.5vw,22px); }

.hb-text {
  position: relative; color: var(--off-white);
  background: radial-gradient(130% 150% at 0% 0%, var(--forest) 0%, var(--forest-900) 46%, var(--forest-950) 100%);
  padding: clamp(36px,4vw,64px);
  display: flex; flex-direction: column; justify-content: center;
  min-height: 0;
}
.hb-text::before { content: ""; position: absolute; top: 36px; left: 0; width: 5px; height: 64px; background: var(--neon); border-radius: 0 4px 4px 0; }
.hb-eyebrow { color: var(--neon); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
.hb-text h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; line-height: 1.07; letter-spacing: .02em; font-size: clamp(32px,3.6vw,54px); margin-bottom: 20px; }
.hb-text h1 .neon { color: var(--neon); }
.hb-sub { max-width: 36ch; color: var(--gray-200); font-size: clamp(15px,1.1vw,18px); line-height: 1.6; margin-bottom: 32px; }
.hb-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hb-trust { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font: 500 13.5px/1.4 var(--font-body); color: var(--gray-200); }
.hb-trust b { color: var(--white); font-weight: 700; }
.hb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); flex: none; display: inline-block; }

.hb-media { position: relative; min-height: 0; }
.hb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-chip { position: absolute; top: 20px; right: 20px; background: rgba(4,41,23,.82); backdrop-filter: blur(4px); color: var(--white); border-radius: 999px; padding: 10px 18px; font: 700 12.5px/1 var(--font-body); display: flex; align-items: center; gap: 9px; }
.hb-card { position: absolute; left: 20px; bottom: 20px; max-width: 340px; background: var(--white); border-radius: 20px; padding: 18px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.22); display: flex; align-items: center; gap: 16px; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
.hb-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0,0,0,.28); }
.hb-card-txt { flex: 1; }
.hb-card-lbl { display: block; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-300); margin-bottom: 5px; }
.hb-card-big { display: block; font: 700 17px/1.2 var(--font-body); color: var(--forest); }
.hb-card-big span { display: block; color: var(--gray-600); font-weight: 500; font-size: 13px; margin-top: 3px; }
.hb-card-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--neon); color: var(--forest-950); display: grid; place-items: center; font-size: 20px; flex: none; }

@media (max-width: 860px) {
  .hero-bento { min-height: auto; display: block; padding-top: 92px; }
  .hero-bento > .container { display: block; }
  .hb-grid { grid-template-columns: 1fr; }
  .hb-text { min-height: auto; }
  .hb-media { min-height: 340px; }
}
@media (max-width: 767px) {
  .hero-bento { padding-top: 92px; }
  .hb-acts .btn { width: 100%; }
  .hb-card { max-width: min(320px, calc(100% - 40px)); }
}

/* ---------- Catálogo: mockup de navegador (tela do catálogo online) ---------- */
.cat-browser {
  display: block; justify-self: center; width: min(560px, 100%);
  border-radius: 14px; overflow: hidden; background: var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  text-decoration: none;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.cat-browser:hover { transform: translateY(-8px); box-shadow: 0 42px 72px rgba(0,0,0,.42); }
.cat-browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #e9e6df; }
.cat-dots { display: flex; gap: 6px; flex: none; }
.cat-dots i { width: 11px; height: 11px; border-radius: 50%; background: #c9c5bc; display: block; }
.cat-dots i:nth-child(1) { background: #ff5f57; }
.cat-dots i:nth-child(2) { background: #febc2e; }
.cat-dots i:nth-child(3) { background: #28c840; }
.cat-url {
  flex: 1; max-width: 340px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: 999px; padding: 6px 14px;
  font: 500 12.5px/1 var(--font-body); color: var(--gray-600);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-browser-shot { display: block; }
.cat-browser-shot img { display: block; width: 100%; height: auto; }

/* ---------- Carrossel (Serviços) ---------- */
.carousel { position: relative; }
.carousel::before {                       /* moldura neon deslocada, igual à .photo-frame */
  content: '';
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--flag);
  border-radius: var(--r-md);
  z-index: -1;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(4,41,23,.22);
}
.carousel-track {
  list-style: none;
  display: flex;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}
.carousel-slide { position: relative; flex: 0 0 100%; }
.carousel-slide img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  display: block;
}
.carousel-slide figcaption {
  position: absolute; left: 18px; bottom: 18px;
  max-width: calc(100% - 96px);
  background: rgba(4,41,23,.88);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(4,41,23,.72);
  color: var(--white);
  border: 1.5px solid rgba(170,255,0,.35);
  border-radius: 50%;
  font-family: var(--font-display); font-size: 22px; line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.carousel-btn:hover { background: var(--neon); color: var(--forest-950); border-color: var(--neon); }
.carousel-btn:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-prev:hover { transform: translateY(-50%) translateX(-2px); }
.carousel-next:hover { transform: translateY(-50%) translateX(2px); }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(240,240,240,.55);
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.carousel-dots button[aria-selected="true"] { background: var(--neon); transform: scale(1.25); }
.carousel-dots button:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
@media (max-width: 767px) {
  .carousel::before { display: none; }
  .carousel-btn { width: 40px; height: 40px; font-size: 20px; }
}
