/* MIRA — clean, minimalist, chic: generous space, no zoom on card images. */
.mira-wordmark{font-family:Georgia,serif;letter-spacing:.32em;font-weight:600;font-size:1.1rem}
.mira-hero{margin:2.5rem auto;max-width:72rem;padding:0 1.5rem}
.mira-hero img{object-fit:contain!important;width:100%;height:auto;display:block;background:transparent}
.project-media{background:#000000!important}
.project-media .mira-card-img,.project-media img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:72vh!important;display:block;background:#000000}
.about img{object-fit:contain!important}
.mira-details{list-style:none;padding:0;margin:2rem 0;display:grid;gap:1.5rem}
.mira-details li{border-top:1px solid #ffffff;padding-top:1rem}
.mira-details p{margin:.3rem 0 0}

/* MIRA fix 2026-10-31: calm static work grid — no scroll-linked fading,
   no intro-card slide, no ambient backdrop, no faded-out chapters. */
.ambient-backdrop{display:none!important}
.home-chapters > section#marca,.home-chapters > section#aplicacao,.home-chapters > section#website,.home-chapters > section#editorial{display:none!important}
.project,#about,.resume,.contact,.project-frame,.chapter,.chapter--hero+.chapter .project{animation:none!important;opacity:1!important;visibility:visible!important;transform:none!important}
.home-chapters .is-faded-out,.is-faded-out{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.mira-work{max-width:72rem;margin:2.5rem auto;padding:0 1.5rem;width:100%}
.mira-work h2{margin:0 0 .5rem}
.mira-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem 2rem;margin-top:2rem}
@media (max-width:700px){.mira-work-grid{grid-template-columns:1fr}}
.mira-work-card{background:#000000;border-top:1px solid #ffffff;padding-top:1rem}
.mira-work-card img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:60vh!important;display:block;background:#000000}
.mira-work-type{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:#ffffff;margin:1rem 0 .3rem}
.mira-work-card h3{margin:0 0 .3rem}
.mira-work-card p{margin:.3rem 0 0}
.mira-sobre-figure{margin:2rem 0 0}
.mira-sobre-figure img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:60vh!important;display:block;background:#fff}

/* MIRA fix 2026-10-31 (scoped owner edit): new hero / next-section images,
   shown fully, and no fast section pulling. */
.mira-hero img[src*="mira-hero-paleta.jpg"]{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}
.mira-work-intro{margin:0 0 2rem}
.mira-work-intro img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}
/* Remaining fast-pull behaviour: mandatory vertical scroll-snap in the
   original stylesheet made scrolling and anchor clicks jump/snap past
   sections, and .hero-copy still faded/lifted on a view() timeline. */
html:has(.home-v2-root){scroll-snap-type:none!important}
html,body{scroll-snap-type:none!important}
section,#intro,#play,#about,#resume,#contact,.chapter{scroll-snap-align:none!important}
.hero-copy{animation:none!important;animation-timeline:none!important;view-timeline-name:none!important;opacity:1!important;visibility:visible!important;transform:none!important}
#contact{view-timeline-name:none!important}
.contact .claim-accent{animation:none!important;animation-timeline:none!important;opacity:1!important;transform:none!important}

/* MIRA fix 2026-10-31 (scoped owner edit): large hero / next-section images
   and black-to-dark-green whole-site background. No cropping anywhere. */
.mira-hero{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
.mira-hero img,.mira-hero img[src*="mira-hero-paleta.jpg"]{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}
.mira-work-intro{margin:0 0 2rem!important;width:100%!important;max-width:none!important}
.mira-work-intro img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}
/* Whole-site background: black at the top fading into dark green. */
html{background:#0b3d2e!important}
body{background:linear-gradient(to bottom,#000000 0%,#0b3d2e 100%)!important;background-attachment:fixed!important}
/* Remove solid section/panel backgrounds that would hide the gradient. */
.shell-frame,.shell-content,.home-v2-root,.home-chapters,.chapter,.mira-work,.mira-work-card,.project,.project-frame,main,header.identity-rail{background:transparent!important;background-color:transparent!important}
/* Readability only: dark text on the dark gradient becomes light cream.
   Wording, fonts and layout unchanged. */
body,h1,h2,h3,h4,p,li,a,.site-nav a,.mira-wordmark,.hero-title,.hero-support,.mira-work-card h3,.mira-work-card p{color:#ffffff!important}
.mira-work-type,.mira-details li{color:#ffffff!important;border-top-color:#ffffff!important}
.mira-work-card{border-top-color:#ffffff!important}

/* MIRA fix 2026-10-31 (scoped owner edit): whole-site background video. */
.mira-bg-video{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:0!important;pointer-events:none!important}
.shell-frame{position:relative!important;z-index:1!important}

/* Fix 2026-10-31: new "O que fazemos" section — same clean work-card style, media whole, no zoom, no crop */
.mira-fazemos-card img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}
.mira-fazemos-card video{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block;background:transparent!important}

/* MIRA 2026-10-31 (scoped owner edit): Trabalhos carousel + brands strip,
   pure white text on pure black panels. No rushing, only these rules. */

/* 1. Trabalhos carousel: automatic, infinite, NEVER pauses on click/touch/hover/focus. */
#trabalhos{margin-bottom:0!important}
.mira-carousel{overflow:hidden!important;width:100%!important;background:#000000!important;margin-top:2rem!important}
.mira-carousel-track{display:flex!important;width:max-content!important;animation:mira-carousel-scroll 48s linear infinite!important;animation-play-state:running!important}
.mira-carousel-group{display:flex!important;flex-shrink:0!important}
.mira-carousel-card{flex:0 0 340px!important;width:340px!important;max-width:82vw!important;margin-right:2rem!important;background:#000000!important;border-top:1px solid #ffffff!important;padding-top:1rem!important}
.mira-carousel-card img{object-fit:contain!important;width:100%!important;height:auto!important;max-height:none!important;display:block!important;background:#000000!important}
@keyframes mira-carousel-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Explicitly never pause: hover, focus, active, touch or click. No JS pause handlers are added. */
.mira-carousel:hover .mira-carousel-track,.mira-carousel:focus .mira-carousel-track,.mira-carousel:active .mira-carousel-track,.mira-carousel:focus-within .mira-carousel-track,.mira-carousel-track:hover,.mira-carousel-track:active{animation-play-state:running!important}

/* 5. Brands strip: automatic, infinite, never pauses, elegant serif, white on black. */
.mira-brands{overflow:hidden!important;width:100%!important;background:#000000!important;margin:0!important;padding:1.5rem 0!important;border-top:1px solid #ffffff!important;border-bottom:1px solid #ffffff!important}
.mira-brands-track{display:flex!important;width:max-content!important;animation:mira-brands-scroll 32s linear infinite!important;animation-play-state:running!important}
.mira-brands-group{display:flex!important;flex-shrink:0!important;align-items:center!important}
.mira-brand{font-family:Georgia,serif!important;font-size:1.4rem!important;letter-spacing:.12em!important;color:#ffffff!important;white-space:nowrap!important;padding:0 1.5rem!important}
.mira-brand::after{content:"·";color:#ffffff!important;padding-left:3rem!important}
@keyframes mira-brands-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mira-brands:hover .mira-brands-track,.mira-brands:focus .mira-brands-track,.mira-brands:active .mira-brands-track,.mira-brands:focus-within .mira-brands-track,.mira-brands-track:hover,.mira-brands-track:active{animation-play-state:running!important}

/* 2. Remaining sections pulled up directly after the strips, no extra gaps. */
#fazemos{margin-top:0!important}

/* 4. Menu button: top-right corner, icon only, pure white icon on pure black. */
.menu-toggle{display:flex!important;justify-content:center!important;align-items:center!important;position:fixed!important;top:1rem!important;right:1rem!important;z-index:999!important;background:#000000!important;color:#ffffff!important;border:0!important;pointer-events:auto!important}
.menu-toggle svg,.menu-toggle-icon{color:#ffffff!important;stroke:#ffffff!important}
.menu-sheet{background:#000000!important}

/* 6. Colours 100%: pure white text, pure black panels, no cream, no grey, no muted text. */
body,h1,h2,h3,h4,h5,h6,p,li,a,span,small,strong,em,figcaption,blockquote,cite,label,button,.hero-title,.hero-support,.mira-work-card h3,.mira-work-card p,.mira-work-type,.mira-brand{color:#ffffff!important;opacity:1!important}
a,a:visited,a:hover,a:active{color:#ffffff!important}
.hero-title .claim-accent{background-image:none!important;background:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
.mira-work-card,.mira-carousel-card,.mira-brands,header.identity-rail,.menu-sheet,.menu-toggle{background:#000000!important}
.mira-work-card,.mira-carousel-card{border-top-color:#ffffff!important}
.mira-work-type{color:#ffffff!important}
/* Section containers stay transparent so the kept background video and its
   black-to-dark-green gradient fallback remain visible in the gaps; every
   actual panel (cards, header, strips, menu) above is solid #000000. */

/* MIRA correction 2026-11-01 (scoped owner correction): cards are NOT black.
   Only the brands letter-scroll stays black. Black writings return on light
   cards. White text stays ONLY on black / over the dark background video. */

/* 1. Content cards: white/light background, black text — never #000000. */
.mira-work-card,.mira-carousel-card,.mira-fazemos-card{background:#ffffff!important;background-color:#ffffff!important;border-top:1px solid #000000!important;padding:1rem 1rem 1.25rem!important}
.mira-carousel{background:transparent!important;background-color:transparent!important}
.mira-work-card img,.mira-carousel-card img,.mira-fazemos-card img,.mira-fazemos-card video{background:#ffffff!important;background-color:#ffffff!important}
/* Card text back to black (the owner never asked to remove black writings). */
.mira-work-card h3,.mira-carousel-card h3,.mira-fazemos-card h3,.mira-work-card p,.mira-carousel-card p,.mira-fazemos-card p,.mira-work-card .mira-work-type,.mira-carousel-card .mira-work-type,.mira-fazemos-card .mira-work-type{color:#000000!important;opacity:1!important}
/* 2. Distinct typography and placement inside cards: small letter-spaced
   category, larger serif title, smaller regular description — never all
   the same size, weight and colour jumbled together. */
.mira-work-card .mira-work-type,.mira-carousel-card .mira-work-type,.mira-fazemos-card .mira-work-type{font-size:.75rem!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:600!important;line-height:1.4!important;margin:1rem 0 .5rem!important}
.mira-work-card h3,.mira-carousel-card h3,.mira-fazemos-card h3{font-family:Georgia,serif!important;font-size:1.6rem!important;font-weight:600!important;line-height:1.2!important;margin:0 0 .5rem!important}
.mira-work-card p,.mira-carousel-card p,.mira-fazemos-card p{font-size:1rem!important;font-weight:400!important;line-height:1.55!important;margin:.4rem 0 0!important}
/* Other content list-cards (Pormenores): light card, black text, same hierarchy. */
.mira-details li{background:#ffffff!important;background-color:#ffffff!important;color:#000000!important;border-top:1px solid #000000!important;padding:1rem 1.25rem!important}
.mira-details li p,.mira-details li strong{color:#000000!important}
/* Header rail: transparent over the video (not a black panel); wordmark white over video. */
header.identity-rail{background:transparent!important;background-color:transparent!important}
.mira-wordmark{color:#ffffff!important}
/* Section headings over the dark video stay white — the stated exception.
   Their hierarchy is kept distinct from body text. */
.mira-work h2,#fazemos h2{font-family:Georgia,serif!important;font-size:2rem!important;font-weight:600!important;line-height:1.2!important;color:#ffffff!important}
.mira-work>p,#fazemos>p{font-size:1.05rem!important;font-weight:400!important;line-height:1.55!important;color:#ffffff!important}
/* 2b. Buttons must look like buttons: solid, padded, separated from body
   text. The visible cards contain no in-card links/buttons, so this applies
   to the site's actual buttons: contact pill, menu contact link, skip link. */
.contact-pill{background:#000000!important;background-color:#000000!important;color:#ffffff!important;border:2px solid #000000!important;border-radius:999px!important;padding:.9rem 1.5rem!important;margin-top:2rem!important;box-shadow:none!important}
.contact-pill .contact-pill-text,.contact-pill .contact-pill-rest,.contact-pill .contact-pill-done{color:#ffffff!important}
.contact-pill-icon{background:#ffffff!important;color:#000000!important}
.menu-contact-mail{background:#ffffff!important;background-color:#ffffff!important;color:#000000!important;border-radius:999px!important;padding:.8rem 1.25rem!important;display:inline-flex!important;font-weight:600!important;text-decoration:none!important}
.menu-contact-mail span{color:#000000!important}
.skip-link{background:#000000!important;color:#ffffff!important;padding:.6rem 1rem!important;border-radius:999px!important}
/* Menu toggle stays a black button with a white icon only (no visible word). */
.menu-toggle{background:#000000!important;color:#ffffff!important}
/* 3. Brands strip: the ONLY black content strip, white letters, seamless loop
   with soft edge fade so no end/seam is ever visible. Track is two identical
   groups and animates exactly -50%; it never pauses on click/touch. */
.mira-brands{background:#000000!important;background-color:#000000!important;-webkit-mask-image:none!important;mask-image:none!important}
.mira-brands-track{animation:mira-brands-scroll 32s linear infinite!important;animation-play-state:running!important}
.mira-brands:hover .mira-brands-track,.mira-brands:focus .mira-brands-track,.mira-brands:active .mira-brands-track,.mira-brands:focus-within .mira-brands-track,.mira-brands-track:hover,.mira-brands-track:active{animation-play-state:running!important}
.mira-brand{color:#ffffff!important}
.mira-brand::after{color:#ffffff!important}
/* Carousel keeps running, never pauses (unchanged behaviour). */
.mira-carousel-track{animation:mira-carousel-scroll 48s linear infinite!important;animation-play-state:running!important}
.mira-carousel:hover .mira-carousel-track,.mira-carousel:focus .mira-carousel-track,.mira-carousel:active .mira-carousel-track,.mira-carousel:focus-within .mira-carousel-track,.mira-carousel-track:hover,.mira-carousel-track:active{animation-play-state:running!important}

/* MIRA hero 2026-11-01 (scoped owner instruction): hero is ONLY the sent
   image, vertical, no borders, no frame, no padding, no gaps, whole image,
   no zoom, no cut. Nothing else in the hero. */
section#intro.chapter--hero, #intro.chapter--hero { padding:0!important; margin:0!important; border:none!important; outline:none!important; background:#000000!important; background-color:#000000!important; max-width:none!important; width:100%!important; }
#intro img { display:block!important; width:100%!important; height:auto!important; object-fit:contain!important; border:none!important; outline:none!important; margin:0!important; padding:0!important; max-height:none!important; background:#000000!important; background-color:#000000!important; }

/* Logos marquee: transparent, seamless, never pauses */
.mira-logos{overflow:hidden!important;width:100%!important;background:transparent!important;background-color:transparent!important;margin:0!important;padding:1.5rem 0!important;border:none!important}
.mira-logos-track{display:flex!important;width:max-content!important;background:transparent!important;animation:mira-logos-scroll 36s linear infinite!important;animation-play-state:running!important}
.mira-logos-group{display:flex!important;flex-shrink:0!important;align-items:center!important;gap:4rem!important;padding-right:4rem!important;background:transparent!important}
.mira-logos-group img.mira-logo,.mira-logos img.mira-logo{height:60px!important;width:auto!important;max-width:none!important;object-fit:contain!important;background:transparent!important;border:none!important;box-shadow:none!important;flex-shrink:0!important}
@keyframes mira-logos-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mira-logos:hover .mira-logos-track,.mira-logos:focus .mira-logos-track,.mira-logos:active .mira-logos-track,.mira-logos:focus-within .mira-logos-track,.mira-logos-track:hover,.mira-logos-track:active{animation-play-state:running!important}

/* OWNER CORRECTION 2026-11-01 — logos extreme zoom + hero border layer.
   Scoped fixes only; nothing else in this file is changed. */

/* 1. LOGOS MARQUEE — small, uniform, fully visible, no zoom, no crop.
   The 60px rule above was being beaten in practice (cached/old CSS and
   generic img rules), so this block restates it at 56px with every
   competing dimension neutralised, for every selector form used. */
section.mira-logos img,
.mira-logos img,
.mira-logos-track img,
.mira-logos-group img,
.mira-logos-group img.mira-logo,
.mira-logos img.mira-logo {
  height: 56px !important;
  max-height: 56px !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mira-logos-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content !important;
  overflow: visible !important;
}
.mira-logos-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: none !important;
  flex-shrink: 0 !important;
  gap: 3rem !important;
  padding-right: 3rem !important;
}
.mira-logos {
  overflow: hidden !important;
}

/* 2. HERO FULL-BLEED — break out of every parent padding/max-width
   container (shell-content, home-chapters, chapter padding) so the image
   runs edge to edge with no side/top border layer and no background
   video showing around it. The original .chapter--hero rule added
   padding-block-start: calc(100svh - 75svh) and place-items:center,
   which is what created the inset/border look; both are cancelled here.
   Hero contains ONLY the MIRA image; no text, buttons or decorations
   are added. */
section#intro.chapter--hero,
#intro.chapter--hero,
.chapter--hero#intro {
  width: 100vw !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  padding-block: 0 !important;
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
  padding-inline: 0 !important;
  min-height: 0 !important;
  display: block !important;
  place-items: normal !important;
  border: none !important;
  outline: none !important;
  background: #000000 !important;
  background-color: #000000 !important;
  box-sizing: border-box !important;
}
section#intro.chapter--hero img,
#intro img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  background-color: #000000 !important;
}

/* OWNER CORRECTION 2026-11-01 — pasta removed, no smoked/blurred edges, logos not zoomed. Scoped only; nothing else changed. */

/* 1. Trabalhos pulled up directly under the hero: no gap left by the deleted pasta figure. */
#trabalhos { margin-top: 0 !important; padding-top: 0 !important; }
#trabalhos h2 { margin-top: 0 !important; padding-top: 0 !important; }
.mira-work#trabalhos { margin-top: 0 !important; padding-top: 0 !important; }

/* 2. NO smoked / blurred / mirrored border layers anywhere on strips or cards.
   The brands strip's edge-fade mask is removed outright; no fade, blur or
   shadow layer is added in its place. The strips still loop seamlessly
   because each track is two identical groups animating exactly -50%. */
.mira-brands,
.mira-brands-track,
.mira-brands-group,
.mira-logos,
.mira-logos-track,
.mira-logos-group,
.mira-carousel,
.mira-carousel-track,
.mira-carousel-group,
.mira-work-card,
.mira-carousel-card,
.mira-fazemos-card {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.mira-brands { -webkit-mask-image: none !important; mask-image: none !important; }

/* 3. Logos: decisively small, whole, never zoomed. Desktop size first. */
section.mira-logos img,
.mira-logos img,
.mira-logos-track img,
.mira-logos-group img,
.mira-logos-group img.mira-logo,
.mira-logos img.mira-logo,
img.mira-logo {
  height: 56px !important;
  max-height: 56px !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  transform: none !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mira-logos-track { display: flex !important; flex-direction: row !important; align-items: center !important; width: max-content !important; overflow: visible !important; }
.mira-logos-group { display: flex !important; flex-direction: row !important; align-items: center !important; flex: none !important; flex-shrink: 0 !important; gap: 2rem !important; padding-right: 2rem !important; }
.mira-logos { overflow: hidden !important; }

/* Phone: logos even smaller, so wide wordmarks never fill the screen width. */
@media (max-width: 768px) {
  section.mira-logos img,
  .mira-logos img,
  .mira-logos-track img,
  .mira-logos-group img,
  .mira-logos-group img.mira-logo,
  .mira-logos img.mira-logo,
  img.mira-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
  .mira-logos-group { gap: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* OWNER CORRECTION 2026-11-01 — logos still look zoomed on phone.
   Real cause: wide wordmarks (UNCANE, sync, area.lab) are ~5-7x wider
   than tall, so even at 56px/40px height they fill the whole phone
   width and look cropped/zoomed. Fix: logos much smaller everywhere,
   with a width cap, so several logos fit on a phone screen at once. */
section.mira-logos img,
.mira-logos img,
.mira-logos-track img,
.mira-logos-group img,
.mira-logos-group img.mira-logo,
.mira-logos img.mira-logo,
img.mira-logo {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 180px !important;
  min-width: 0 !important;
  flex: none !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  transform: none !important;
  display: block !important;
}
@media (max-width: 768px) {
  section.mira-logos img,
  .mira-logos img,
  .mira-logos-track img,
  .mira-logos-group img,
  .mira-logos-group img.mira-logo,
  .mira-logos img.mira-logo,
  img.mira-logo {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 150px !important;
  }
}

/* OWNER CORRECTION 2026-11-01 03:11 — RECOVERY: slider removed entirely.
   The slider failed twice on phone (cropped sides, next image peeking
   in, black bars). Trabalhos is now a static vertical gallery: plain
   <img> blocks, one below the other, no movement, no track, no
   keyframes, no animation, no 100vw breakout. */
section.mira-work#trabalhos,
#trabalhos {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  background-color: #000000 !important;
  gap: 0 !important;
}
.mira-trabalhos-gallery {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.mira-trabalhos-gallery img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

/* OWNER FIX 2026-11-01 — Trabalhos gallery full viewport width.
   Section width 100% only filled the narrow centred ancestor column,
   leaving dark page background on both sides. This breakout makes
   ONLY #trabalhos and its gallery span the full viewport width. */
#trabalhos,
.mira-trabalhos-gallery {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  position: relative !important;
  left: auto !important;
}
.mira-trabalhos-gallery img {
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Ancestors of #trabalhos only, so the breakout is not clipped. */
.home-chapters,
.shell-content {
  overflow: visible !important;
}

/* OWNER CORRECTION 2026-11-01 — Trabalhos: horizontal automatic marquee,
   floating, NOT stacked. Replaces the stacked vertical gallery entirely.
   No card, no box, no border, no text around the images — just the
   images themselves, whole, uniform height, passing continuously. */
.mira-trabalhos-marquee {
  overflow: hidden !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
}
.mira-trabalhos-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: none !important;
  box-shadow: none !important;
  animation: mira-trabalhos-scroll 36s linear infinite !important;
  animation-play-state: running !important;
}
.mira-trabalhos-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: none !important;
  flex-shrink: 0 !important;
  gap: 2rem !important;
  padding-right: 2rem !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: none !important;
  box-shadow: none !important;
}
.mira-trabalhos-group img {
  height: 320px !important;
  max-height: 320px !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
  flex: none !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
@keyframes mira-trabalhos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Never pause, on hover, focus, touch or any other state. */
.mira-trabalhos-marquee:hover .mira-trabalhos-track,
.mira-trabalhos-marquee:focus .mira-trabalhos-track,
.mira-trabalhos-marquee:active .mira-trabalhos-track,
.mira-trabalhos-marquee:focus-within .mira-trabalhos-track,
.mira-trabalhos-track:hover,
.mira-trabalhos-track:active,
.mira-trabalhos-track:focus {
  animation-play-state: running !important;
}
@media (max-width: 768px) {
  .mira-trabalhos-group img {
    height: 220px !important;
    max-height: 220px !important;
    width: auto !important;
  }
  .mira-trabalhos-group {
    gap: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* MIRA menu 2026-11-01 — correção da dona ("Mal feito", captura do menu no telemóvel):
   o véu cinzento do menu lavava o preto e deixava tudo cinzento, as secções
   pareciam texto solto e o botão do chat tapava o contacto no fundo. */
.menu-sheet{background:linear-gradient(to bottom,#000000 0%,#0b3d2e 100%)!important;color:#ffffff!important;padding-bottom:120px!important}
.menu-glass{display:none!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:0!important}
.menu-tiles{gap:1rem!important}
.menu-tile{background:#141414!important;border:1px solid #2b2b2b!important;border-radius:16px!important;padding:.5rem!important}
.menu-tile-media{object-fit:contain!important;background:#000000!important;border-radius:12px!important}
.menu-tile-title{font-family:"Source Serif 4",Georgia,serif!important;font-size:1.1rem!important;color:#ffffff!important;padding:.5rem .25rem .25rem!important}
.menu-sections{border-top:1px solid #2b2b2b!important;padding-top:1rem!important}
.menu-sections li{border-bottom:1px solid #2b2b2b!important}
.menu-section{font-family:"Source Serif 4",Georgia,serif!important;font-size:1.6rem!important;line-height:1.2!important;color:#ffffff!important;padding:.75rem 0!important;display:block!important}
.menu-contact{flex-wrap:wrap!important;gap:.75rem!important;padding-bottom:2rem!important}
.menu-contact-mail{background:linear-gradient(135deg,#0b3d2e,#22c55e)!important;background-color:transparent!important;color:#ffffff!important;border:0!important;box-shadow:0 8px 24px rgba(34,197,94,.35)!important}
.menu-contact-mail span{color:#ffffff!important}
body:has(.menu-sheet[data-open="true"]) #mira-chat-btn{display:none!important}

/* MIRA lógica 2026-11-01 — visitante entende em 5 segundos: WhatsApp visível,
   menu vai para serviços/preços, serviços com preços na página inicial. */
.menu-top-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}
.menu-top-btn{display:inline-block;padding:14px 26px;border-radius:999px;background:linear-gradient(135deg,#0b3d2e,#22c55e)!important;color:#ffffff!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(34,197,94,.35)!important}
.menu-top-btn.btn-orcamento{background:linear-gradient(135deg,#128C7E,#25D366)!important;box-shadow:0 8px 24px rgba(37,211,102,.35)!important}
.btn-orcamento{display:inline-block;padding:14px 26px;border-radius:999px;background:linear-gradient(135deg,#128C7E,#25D366)!important;color:#ffffff!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(37,211,102,.35)!important}
.menu-quote-btn{margin-left:.75rem}
body:has(.menu-sheet[data-open="true"]) #mira-chat-btn,body:has(.menu-sheet[data-open="true"]) #mira-wa-btn{display:none!important}
.mira-home-services{background:#141414!important;border:1px solid #2b2b2b!important;border-radius:20px!important;padding:22px!important;margin-top:1.5rem!important}
.mira-home-services-title{font-family:"Source Serif 4",Georgia,serif!important;font-size:1.8rem!important;color:#ffffff!important;margin:0 0 .5rem!important}
.mira-home-services-sub{color:#dddddd!important;margin:0 0 1rem!important}
.mira-home-services-list{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:12px!important}
.mira-home-service{background:#000000!important;border:1px solid #2b2b2b!important;border-radius:14px!important;padding:16px!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;justify-content:space-between!important}
.mira-home-service strong{display:block!important;font-family:"Source Serif 4",Georgia,serif!important;font-size:1.15rem!important;color:#ffffff!important}
.mira-home-service-desc{display:block!important;color:#dddddd!important;font-size:.95rem!important}
.mira-home-service-price{font-weight:700!important;color:#a3e635!important;font-size:1.05rem!important;white-space:nowrap!important}
@media (max-width:768px){
  .mira-home-service{flex-direction:column!important;align-items:stretch!important}
  .mira-home-service .btn-orcamento{width:100%!important;display:block!important;text-align:center!important;white-space:normal!important}
  .menu-top-actions a{width:100%!important;text-align:center!important}
  .menu-quote-btn{margin-left:0!important;width:100%!important;text-align:center!important}
}

/* MIRA beleza 2026-11-01 — só 2 defeitos da captura no telemóvel: (1) cabeçalho
   transparente deixava o título "Serviços e preços" aparecer por baixo dele;
   (2) os cartões de serviços na página inicial eram caixas de texto sem imagem.
   Estas regras vêm no fim do ficheiro, depois das regras transparentes antigas
   (linhas 55 e 132), para prevalecerem. */
header.identity-rail{background:#000000!important;background-color:#000000!important;border-bottom:1px solid #2b2b2b!important}
header.identity-rail .mira-wordmark{color:#ffffff!important}
#mira-home-services{scroll-margin-top:90px!important;padding-top:1.5rem!important}
#resume,#fazemos,#about,#contact{scroll-margin-top:90px!important}
.mira-home-service{flex-direction:column!important;align-items:stretch!important;padding:20px!important}
.mira-home-service-media{width:100%!important;aspect-ratio:16/10!important;object-fit:contain!important;background:#000000!important;border-radius:12px!important;margin-bottom:.75rem!important;display:block!important}
.mira-home-service strong{font-family:"Source Serif 4",Georgia,serif!important;font-size:1.25rem!important;color:#ffffff!important}
.mira-home-service-desc{color:#d4d4d4!important}
.mira-home-service-price{display:block!important;width:100%!important;border-top:1px solid #2b2b2b!important;padding-top:.75rem!important;margin-top:.25rem!important}
@media (max-width:768px){
  .mira-home-services-title{font-size:1.6rem!important}
  .mira-home-services{padding:18px 16px!important}
}

/* Botão discreto do admin no final do site. */
.mira-site-footer{text-align:center;padding:2rem 1rem 4rem!important}
.mira-site-footer a{color:#bbbbbb!important;font-size:.9rem!important;text-decoration:none!important;border:1px solid #333333!important;border-radius:999px!important;padding:.5rem 1.4rem!important;background:#111111!important;display:inline-block!important}
