:root { --arc-mobile-nav: calc(66px + env(safe-area-inset-bottom)); }
body, body.ficha-ativa { padding-bottom: var(--arc-mobile-nav); }
#inicio, #servicos, #como, #contacto { scroll-margin-top: 84px; }
.arc-mobile-nav {
  position: fixed; z-index: 90; inset: auto 0 0; display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr)); min-height: var(--arc-mobile-nav);
  padding: 3px 6px env(safe-area-inset-bottom); background: #fff;
  border-top: 1px solid #dbe2eb; box-shadow: 0 -4px 18px #14233815;
}
.arc-mobile-nav a {
  display: grid; place-content: center; justify-items: center; gap: 3px; min-height: 55px;
  color: #425268; font-size: 12px; font-weight: 650; text-decoration: none;
}
.arc-mobile-nav a[aria-current] { color: #a84f00; }
.arc-mobile-nav a:focus-visible, .arc-mobile-filters button:focus-visible, #arc-mobile-search :focus-visible { outline: 2px solid #e88e36; outline-offset: -2px; }
.hero-page .hero {
  background: #071f34; padding: 112px 0 0; overflow: hidden;
}
.hero-page .hero-layout { display: grid; gap: 0; }
.hero-page .hero h1 { font-size: clamp(28px, 7.45vw, 44px); line-height: 1.1; margin: 16px auto; }
.hero-page .hero h1::after { content: none; }
.hero-page .hero .hero-desc { font-size: 16px; line-height: 1.5; margin-bottom: 18px; }
.hero-page .hero .hero-badge { background: none; border: 0; color: #ffab57; font-size: 13px; padding: 0; }
.hero-page .hero-badge .badge-dot { display: none; }
.hero-page .hero-actions { margin-top: 20px; }
.hero-page .hero-actions .btn-primary { min-height: 50px; font-size: 18px; padding-inline: 23px; }
.hero-page .hero-service-note { font-size: 16px; margin-bottom: 12px; }
.hero-page .hero-space {
  width: calc(100% + 36px); max-width: none; margin-inline: -18px; height: clamp(235px,72vw,425px);
  background: linear-gradient(#071f34, transparent 28%), url('cozinha-tecnicos-suave.webp') 83% 60% / cover no-repeat;
}
.hero-page .hero-curve { display: none; }
.hero-page .hero { border-bottom: 1px solid #e5e9ee; }
.hero-page #servicos { background-color: #fff; }
html:has(body.hero-page), body.hero-page { background-color: #fff; }
html:has(body.hero-page), body.hero-page { overflow: hidden; }
body.hero-page { padding-bottom: 0; }
.hero-page .arc-home-scrollport {
  display: block;
  position: fixed;
  inset: 0 0 var(--arc-mobile-nav);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: #fff;
}
.hero-page .arc-mobile-nav {
  height: var(--arc-mobile-nav);
  background-color: #fff;
  box-shadow: none;
}
.arc-mobile-discovery, .arc-mobile-catalog-filters { display: block; }
#arc-mobile-search { display: grid; grid-template-columns: minmax(0,1fr) 48px; margin-bottom: 10px; text-align: left; }
#arc-mobile-search label { grid-column: 1/-1; color: white; font-size: 14px; margin-bottom: 4px; font-weight: 650; }
#arc-mobile-search input, #arc-mobile-search button { min-width: 0; min-height: 48px; border: 0; background: #1b354d; color: white; font: inherit; }
#arc-mobile-search input { border-radius: 12px 0 0 12px; padding: 0 12px; font-size: 16px; }
#arc-mobile-search input::placeholder { color: #e0e8ee; }
#arc-mobile-search button { border-radius: 0 12px 12px 0; color: #ffab57; display: grid; place-items: center; cursor: pointer; }
.arc-mobile-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.arc-mobile-filters button {
  min-width: 0; min-height: 46px; padding: 5px 2px; border: 1px solid transparent; border-radius: 9px;
  background: #1b354d; color: white; font: inherit; font-size: clamp(11px,3.35vw,14px); font-weight: 650; cursor: pointer;
}
.arc-mobile-catalog-filters { margin: -8px 0 16px; }
.arc-mobile-catalog-filters button { background: #e9eef2; color: #19314a; }
.arc-mobile-filters button[aria-pressed=true] { border-color: #b75b0d; background: #f9e1cc; color: #693500; }
#servicos .svc-grid { gap: 12px; }
#servicos .svc-card { padding: 13px; }
#servicos .svc-card img { aspect-ratio: 2.05; height: auto !important; width: 100%; object-fit: cover; }
#servicos .svc-card .svc-cta { margin-top: 8px; }
#servicos .svc-card .svc-price { margin-top: 7px; }
.ficha .ficha-contratar { position: static; box-shadow: none; grid-template-columns: 1fr; }
.ficha .ficha-lateral img { aspect-ratio: 1.85; }
.ficha .ficha-detalhes { grid-row: 3; }
.ficha .ficha-lateral { grid-row: 2; }
.ficha .ficha-contratar .btn { min-height: 48px; }
.wizard .field :is(input,select,textarea) { min-height: 48px; font-size: 16px; }
.wizard .actions .btn, #contacto .contact-card { min-height: 48px; }
#contacto .arc-mobile-contact { display: flex !important; }
#como .steps-row { gap: 12px; }
#como .step-item { text-align: left; }
.payment-result { min-height: calc(100dvh - var(--arc-mobile-nav)); }
.payment-result .payment-result-card { padding: 24px 16px; }
@media (max-width: 350px) { .arc-mobile-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.site-footer { background: #fff; color: #19314a; border-top: 1px solid #e5e9ee; }
.site-footer :is(.footer-brand, .footer-col-title) { color: #19314a; }
.site-footer :is(.footer-desc, .footer-col a, .footer-bottom a, .footer-bottom small) { color: #425268; }
.site-footer .footer-bottom { border-color: #e5e9ee; }

@media (max-width: 640px) {
  .site-header .brand :is(img.logo-light,img.logo-dark) {
    max-width: min(100%, clamp(106px, 31vw, 132px));
  }
  .site-header .brand img.logo-light[src$="arc-logo.svg"] {
    content: url("./arc-logo-mobile-branco.svg");
  }
  .site-header .brand img.logo-dark[src$="arc-logo-ficha.svg"] {
    content: url("./arc-logo-mobile-marinho.svg");
  }
}
