/* =========================================================
   CURIMO Manutenção — v3 · leve, dinâmico, fácil de marcar
   Azul-marinho #192F46 · Laranja #F97819 · Branco
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --navy: #192F46;
  --navy-deep: #0E1C2B;
  --orange: #F97819;
  --orange-hover: #E3680C;
  --orange-text: #B9530A;
  --white: #FFFFFF;
  --paper: #F5F7F9;
  --steel: #8A96A3;
  --line: #E1E6EB;
  --line-strong: #C9D1D9;
  --text: #1B2633;
  --muted: #536171;
  --on-dark-muted: #B9C5D2;

  --font: "Archivo", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 80px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; font-variation-settings: "wdth" 100; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); line-height: 1.1; margin: 0 0 1rem; color: var(--navy); font-weight: 800; letter-spacing: -.012em; font-variation-settings: "wdth" 112; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; font-variation-settings: "wdth" 104; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; overflow: hidden; isolation: isolate;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary::before { background: var(--navy-deep); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light::before { background: var(--white); }
.btn-outline-light:hover { color: var(--navy); border-color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline::before { background: var(--navy); }
.btn-outline:hover { color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--orange-text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 2px; }

.eyebrow { display: block; font-size: .95rem; font-weight: 600; color: var(--orange-text); margin-bottom: .6rem; }
.on-dark .eyebrow { color: var(--orange); }

.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { color: var(--muted); max-width: 42ch; margin: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease); view-transition-name: site-header; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(14, 28, 43, .06); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; position: relative; }
.brand img { height: 52px; width: auto; transition: opacity .3s; }
.brand .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }
body.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255,255,255,.14); }
body.has-hero .site-header:not(.scrolled) .logo-dark { opacity: 0; }
body.has-hero .site-header:not(.scrolled) .logo-light { opacity: 1; }
body.has-hero .site-header:not(.scrolled) .main-nav a:not(.btn), body.has-hero .site-header:not(.scrolled) .header-phone { color: var(--white); }
body.has-hero .site-header:not(.scrolled) .nav-toggle { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
body.has-hero .site-header.scrolled { background: var(--white); border-color: var(--line); }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.main-nav a:not(.btn) { position: relative; display: block; padding: .6rem .85rem; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--navy); }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }
.header-phone .icon { color: var(--orange); width: 20px; height: 20px; }
.header-cta .btn { min-height: 46px; padding: .6rem 1.2rem; font-size: .95rem; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); color: var(--navy); cursor: pointer; }
@media (max-width: 1099px) { .header-phone span { display: none; } }
@media (max-width: 1179px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn, .header-phone { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); background: var(--navy-deep); padding: 1.5rem var(--gutter) 2rem; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility .5s; overflow-y: auto; }
  .main-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a:not(.btn) { color: var(--white) !important; font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; font-variation-settings: "wdth" 120; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--orange) !important; }
  .main-nav li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(2) { transition-delay: .04s; } .main-nav.open li:nth-child(3) { transition-delay: .08s; }
  .main-nav.open li:nth-child(4) { transition-delay: .12s; } .main-nav.open li:nth-child(5) { transition-delay: .16s; }
  .main-nav.open li:nth-child(6) { transition-delay: .2s; }
  .main-nav .nav-cta { margin-top: 1.5rem; display: grid; gap: .75rem; }
  .main-nav .nav-cta .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--navy-deep) !important; border-color: rgba(255,255,255,.1) !important; }
  body.menu-open .logo-dark { opacity: 0 !important; } body.menu-open .logo-light { opacity: 1 !important; }
  body.menu-open .nav-toggle { color: var(--white) !important; background: transparent !important; border-color: rgba(255,255,255,.4) !important; }
}
@media (min-width: 1180px) { .main-nav .nav-cta { display: none; } }

/* ---------- Fotografias em duotone ---------- */
.duo { position: relative; overflow: hidden; background: var(--navy); }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(1.08); mix-blend-mode: luminosity; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: grayscale(.35) contrast(1.05); transform: scale(1.08); animation: heroZoom 2.4s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,28,43,.95) 0%, rgba(25,47,70,.84) 45%, rgba(25,47,70,.35) 100%); }
.hero-main { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; }
.hero h1 { color: var(--white); margin: 0 0 1.75rem; font-size: clamp(2.2rem, .6rem + 4.7vw, 5.4rem); line-height: .98; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "wdth" 125; }
.hero h1 .kicker { display: block; max-width: 48ch; font-size: clamp(.95rem, .9rem + .2vw, 1.08rem); font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--on-dark-muted); margin-bottom: 1.5rem; font-variation-settings: "wdth" 100; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) forwards; }
.hero h1 .line:nth-of-type(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-of-type(3) > span { animation-delay: .24s; }
.hero h1 .line-accent { color: var(--orange); }
@keyframes lineUp { to { transform: none; } }
.hero-lede { display: grid; gap: 1.75rem; align-items: end; opacity: 0; animation: fadeIn 1s .7s var(--ease) forwards; }
.hero-lede p { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: #DCE4EC; max-width: 40ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (min-width: 960px) { .hero-lede { grid-template-columns: 1fr auto; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-bar { border-top: 1px solid rgba(255,255,255,.14); background: rgba(14,28,43,.55); backdrop-filter: blur(8px); opacity: 0; animation: fadeIn 1s 1s var(--ease) forwards; }
.hero-bar .container { display: grid; grid-template-columns: 1fr; }
.hero-bar .cell { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; color: var(--on-dark-muted); text-decoration: none; }
.hero-bar .cell:last-child { border-bottom: 0; }
.hero-bar strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 700; }
.hero-bar a.cell:hover strong { color: var(--orange); }
.hero-bar .icon { color: var(--orange); }
.live-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #3DDC84; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #3DDC84; opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
@media (min-width: 800px) {
  .hero-bar .container { grid-template-columns: 1fr 1fr; }
  .hero-bar .cell { border-bottom: 0; border-left: 1px solid rgba(255,255,255,.1); padding: 1.4rem 1.75rem; }
  .hero-bar .cell:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 799px) { .hero-bar .cell:not(:first-child) { display: none; } }

/* ---------- Escala: 70.000 m² ---------- */
.scale { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 980px) { .scale { grid-template-columns: 1fr 1fr; } }
.scale-figure { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 3.9rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; color: var(--navy); font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; margin: 0 0 1.25rem; }
.scale-figure small { font-size: .42em; letter-spacing: -.01em; color: var(--orange-text); margin-left: .1em; }
.scale-copy .lead { max-width: 38ch; }
.area-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.area-grid span { aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease-out); transform: scale(.85); }
.area-grid.filled span { background: var(--navy); border-color: var(--navy); transform: none; }
.area-grid.filled span:nth-child(10n+1) { background: var(--orange); border-color: var(--orange); }
.area-legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-size: .88rem; color: var(--muted); }
.area-legend i { display: inline-block; width: 12px; height: 12px; background: var(--navy); vertical-align: -1px; margin-right: .4rem; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.25rem; border-top: 2px solid var(--navy); }
.facts li { padding-top: 1rem; }
.facts b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.1; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; }
.facts span { font-size: .9rem; color: var(--muted); }
.years { margin-top: 2.25rem; }
.years-track { position: relative; height: 4px; background: var(--line); border-radius: 2px; }
.years-track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), var(--navy)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.years.in .years-track::after { transform: scaleX(1); }
.years-labels { display: flex; justify-content: space-between; margin-top: .6rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.years-labels span:last-child { color: var(--orange-text); }

/* ---------- Explorador de serviços (claro) ---------- */
.explorer { display: grid; gap: 2rem; }
@media (min-width: 980px) { .explorer { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } }
.explorer-tabs { list-style: none; border-top: 1px solid var(--line-strong); }
.explorer-tabs li { border-bottom: 1px solid var(--line-strong); }
.explorer-tabs button {
  width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem); font-weight: 700; text-align: left; cursor: pointer;
  font-variation-settings: "wdth" 110; transition: color .3s var(--ease), padding .4s var(--ease-out);
}
.explorer-tabs button .icon { color: var(--steel); transition: color .3s var(--ease); }
.explorer-tabs button::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); }
.explorer-tabs button:hover { color: var(--navy); }
.explorer-tabs button[aria-selected="true"] { color: var(--navy); padding-left: .75rem; }
.explorer-tabs button[aria-selected="true"] .icon { color: var(--orange-text); }
.explorer-tabs button[aria-selected="true"]::after { opacity: 1; color: var(--orange-text); }
.explorer-stage { position: relative; }
@media (min-width: 980px) { .explorer-stage { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 979px) { .explorer-tabs .explorer-stage { padding: .25rem 0 1.5rem; } }
.explorer-panel { display: grid; gap: 1.25rem; }
.explorer-panel[hidden] { display: none; }
.explorer-panel .duo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.explorer-panel.enter .duo img { animation: panelImg .9s var(--ease-out); }
.explorer-panel.enter .panel-text { animation: panelText .6s var(--ease-out); }
@keyframes panelImg { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } to { clip-path: inset(0); transform: none; } }
@keyframes panelText { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); font-variation-settings: "wdth" 118; font-weight: 800; margin-bottom: .6rem; }
.panel-text p { color: var(--muted); max-width: 52ch; }
.panel-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.panel-tags li { padding: .35rem .8rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; color: var(--navy); }

/* ---------- Processo com progresso ---------- */
.process { display: grid; gap: 3rem; }
@media (min-width: 980px) { .process { grid-template-columns: 1fr 1.2fr; gap: 5rem; } .process-intro { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; } }
.timeline { list-style: none; position: relative; margin: 0; padding: 0; counter-reset: step; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.timeline::after { background: var(--orange); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; padding: 0 0 2.25rem 4.5rem; counter-increment: step; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--line-strong); font-weight: 800; color: var(--muted); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); font-variant-numeric: tabular-nums; z-index: 1; }
.timeline li.done::before { background: var(--orange); border-color: var(--orange); color: var(--white); }
.timeline h3 { margin: .35rem 0 .3rem; font-size: 1.25rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Confiança ---------- */
.trust { display: grid; gap: 3rem; }
@media (min-width: 980px) { .trust { grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; } }
.trust .certs { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.trust-points { list-style: none; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.trust-points li { display: flex; gap: .9rem; align-items: flex-start; }
.trust-points .icon { color: var(--orange-text); margin-top: 2px; }
.trust-points strong { display: block; color: var(--navy); }
.trust-points span { color: var(--muted); font-size: .97rem; }

/* Certificações: chapas de características */
.certs { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cert {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem 1.4rem 1.3rem;
  background: linear-gradient(160deg, #FFFFFF 0%, #EEF1F4 100%); border: 1px solid var(--line-strong); border-radius: 6px;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(14,28,43,.04);
}
.cert::before, .cert::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9AA6B2 70%); box-shadow: 0 0 0 1px #B4BEC8; }
.cert::before { left: 10px; } .cert::after { right: 10px; }
.cert .icon { width: 28px; height: 28px; color: var(--navy); }
.cert .cert-code { margin: 0; font-weight: 800; color: var(--navy); font-size: 1.2rem; line-height: 1.2; font-variation-settings: "wdth" 118; }
.cert p { margin: 0; color: var(--muted); font-size: .95rem; }
.cert .cert-ref { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line-strong); font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cert .cert-ref strong { color: var(--navy); font-size: 1.1rem; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; isolation: isolate; }
.cta-band .container { display: grid; gap: 2.5rem; padding-block: clamp(4.5rem, 3rem + 5vw, 7rem); }
.cta-band h2 { color: var(--white); margin-bottom: .75rem; max-width: 18ch; font-variation-settings: "wdth" 120; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
.cta-phone { display: inline-block; white-space: nowrap; font-size: clamp(1.9rem, 1rem + 3.2vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: var(--white); text-decoration: none; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 4px no-repeat; transition: background-size .5s var(--ease-out), color .3s; padding-bottom: .15em; }
.cta-phone:hover { background-size: 100% 4px; color: var(--orange); }
.cta-band::after { content: "1995"; position: absolute; right: -2vw; bottom: -6vw; z-index: -1; font-size: clamp(10rem, 28vw, 26rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); font-variation-settings: "wdth" 125; pointer-events: none; }
.cta-band .cta-regions { max-width: none; }
.cta-regions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-dark-muted); font-size: .95rem; }
.cta-regions span { display: inline-flex; align-items: center; gap: .4rem; }
.cta-regions .icon { width: 16px; height: 16px; color: var(--orange); }
@media (min-width: 980px) { .cta-band .container { grid-template-columns: 1.1fr 1fr; align-items: end; } .cta-actions { justify-content: flex-end; } }

/* ---------- Revelações ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.js .img-reveal img { transition: clip-path 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.js .img-reveal:not(.in) img { clip-path: inset(0 100% 0 0); transform: scale(1.06); }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; color: var(--white); background: var(--navy-deep); isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.6); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,28,43,.96) 0%, rgba(25,47,70,.8) 55%, rgba(25,47,70,.55) 100%); z-index: -1; }
.page-hero .container { padding-block: clamp(3.25rem, 2.5rem + 3.5vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: 1; max-width: 18ch; margin-bottom: 1.1rem; font-variation-settings: "wdth" 125; view-transition-name: page-title; }
.page-hero h1, .page-hero p { animation: pageIn .9s var(--ease-out) both; }
.page-hero p { color: #DCE4EC; max-width: 52ch; font-size: 1.12rem; margin: 0; animation-delay: .1s; }
@keyframes pageIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.75rem; font-size: .92rem; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); }

.kpi-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.kpi-band ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.kpi-band li { padding: 1.5rem 1rem 1.5rem 0; }
.kpi-band strong { display: block; font-size: 1.6rem; line-height: 1.1; font-weight: 800; color: var(--navy); font-variation-settings: "wdth" 125; }
.kpi-band span { font-size: .92rem; color: var(--muted); }
@media (min-width: 900px) { .kpi-band ul { grid-template-columns: repeat(3, 1fr); } .kpi-band li { border-left: 1px solid var(--line); padding: 2rem 1.5rem; } .kpi-band li:first-child { border-left: 0; padding-left: 0; } }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.media-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--navy); border-radius: var(--radius); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; display: grid; gap: 0 1.5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 1.25rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.checklist .icon { width: 20px; height: 20px; color: var(--orange-text); margin-top: 3px; stroke-width: 2.4; }

.values { list-style: none; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.values li { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.values .icon { color: var(--orange-text); width: 28px; height: 28px; margin-bottom: .9rem; }
.values strong { display: block; color: var(--navy); font-size: 1.15rem; margin-bottom: .35rem; }
.values span { color: var(--muted); font-size: .97rem; }

.regions { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem 2rem; }
.region { display: flex; gap: .7rem; align-items: flex-start; }
.region .icon { color: var(--orange-text); margin-top: 3px; }
.region strong { display: block; color: var(--navy); font-size: 1.2rem; font-variation-settings: "wdth" 118; }
.region span { font-size: .93rem; color: var(--muted); }

/* Serviços */
.chip-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
body.header-hidden .chip-nav { top: 0; }
.chip-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding-block: .75rem; }
.chip-nav ul::-webkit-scrollbar { display: none; }
.chip-nav a { display: inline-flex; align-items: center; min-height: 42px; white-space: nowrap; padding: .45rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--navy); transition: background-color .3s, color .3s, border-color .3s; }
.chip-nav a:hover { border-color: var(--navy); }
.chip-nav a.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.service { display: grid; gap: 1.5rem; padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 90px); }
.service:last-of-type { border-bottom: 0; }
@media (min-width: 960px) { .service { grid-template-columns: 340px 1fr; gap: 5rem; } }
.service-aside { display: flex; flex-direction: column; gap: 1rem; }
.service-aside .card-icon { display: grid; place-items: center; width: 60px; height: 60px; background: var(--navy); color: var(--orange); border-radius: var(--radius); }
.service-aside .card-icon .icon { width: 28px; height: 28px; }
.service h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0; }
.service-body p { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }

.faq { max-width: 860px; margin-top: 1.5rem; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: linear-gradient(var(--orange-text), var(--orange-text)) center / 100% 2px no-repeat, linear-gradient(var(--orange-text), var(--orange-text)) center / 2px 100% no-repeat; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); padding-bottom: 1.35rem; margin: 0; max-width: 68ch; }
.faq details[open] p { animation: panelText .45s var(--ease-out); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }

/* Contactos */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-list { list-style: none; display: grid; border-top: 2px solid var(--navy); }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-item .c-icon { display: grid; place-items: center; width: 46px; height: 46px; background: var(--navy); color: var(--orange); flex-shrink: 0; border-radius: var(--radius); }
.contact-item .c-label { display: block; font-size: .88rem; font-weight: 600; color: var(--muted); }
.contact-item a, .contact-item address, .contact-item .c-value { font-style: normal; font-size: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--orange-text); text-decoration: underline; }
.contact-item small { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }

.map-box { position: relative; overflow: hidden; background: var(--navy); color: var(--white); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 2rem; border-radius: var(--radius); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { color: var(--on-dark-muted); max-width: 44ch; margin-inline: auto; }

/* ---------- Formulários ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); box-shadow: 0 30px 60px -30px rgba(14, 28, 43, .22); border-radius: 0 0 var(--radius) var(--radius); }
.form-card h2 { font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); }
.form-grid { display: grid; gap: 1.25rem 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field .req, .req { color: var(--orange-text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .8rem .95rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-bottom-color: #A9B4BF; border-radius: var(--radius) var(--radius) 0 0; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #EDF0F3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px rgba(249,120,25,.3); }
.field .error-msg { display: none; color: #B42318; font-size: .88rem; margin: .35rem 0 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; background: #FEF3F2; }
.field.invalid .error-msg { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.check.invalid { color: #B42318; }
.check.invalid input { outline: 2px solid #B42318; outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.alert { padding: 1rem 1.25rem; margin-bottom: 1.25rem; font-weight: 500; }
.alert-error { background: #FEF3F2; color: #912018; border-left: 4px solid #B42318; }
.alert[hidden] { display: none; }

/* Escolha rápida (serviço / período) */
.choice { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 600; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label > span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice label > span:hover { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice.invalid label > span { border-color: #B42318; }
.choice .error-msg { display: none; width: 100%; color: #B42318; font-size: .88rem; margin: .25rem 0 0; }
.choice.invalid .error-msg { display: block; }

/* ---------- Janela «Marcar visita técnica» ---------- */
.visit-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 40px 80px rgba(14,28,43,.35); color: var(--text); overflow: auto; }
.visit-dialog::backdrop { background: rgba(14, 28, 43, .6); backdrop-filter: blur(3px); }
.visit-dialog[open] { animation: dialogIn .45s var(--ease-out); }
.visit-dialog[open]::backdrop { animation: fadeIn .3s var(--ease) forwards; opacity: 0; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.visit-head { position: relative; background: var(--navy); color: var(--white); padding: 1.75rem 1.75rem 1.5rem; }
.visit-head h2 { color: var(--white); font-size: 1.6rem; margin: 0 0 .35rem; font-variation-settings: "wdth" 120; }
.visit-head p { margin: 0; color: var(--on-dark-muted); font-size: .97rem; }
.visit-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--white); cursor: pointer; border-radius: 50%; }
.visit-close:hover { background: rgba(255,255,255,.1); }
.visit-body { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: 1.1rem; }
.visit-body .btn { width: 100%; }
.visit-alt { font-size: .9rem; color: var(--muted); text-align: center; margin: 0; }
.visit-alt a { color: var(--navy); font-weight: 700; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); font-size: .96rem; }
.footer-top { display: grid; gap: 3rem; padding-block: 4.5rem 3rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer-slogan { font-weight: 800; font-size: 1.4rem; line-height: 1.15; color: var(--white); margin-bottom: 1rem; font-variation-settings: "wdth" 120; }
.footer-slogan span { color: var(--orange); display: block; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 1.1rem; font-variation-settings: "wdth" 100; font-weight: 700; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 4px; }
.footer-contact address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Barra fixa no telemóvel: ligar + marcar */
.mobile-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: .5rem; padding: .5rem; background: rgba(14,28,43,.94); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 12px 30px rgba(14,28,43,.35); transform: translateY(140%); transition: transform .5s var(--ease-out); }
.mobile-dock.show { transform: none; }
.mobile-dock a, .mobile-dock button { flex: 1; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 8px; font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; }
.mobile-dock a { color: var(--white); background: rgba(255,255,255,.08); }
.mobile-dock button { color: var(--white); background: var(--orange); }
.mobile-dock .icon { width: 20px; height: 20px; }
@media (max-width: 899px) { .mobile-dock { display: flex; } .site-footer { padding-bottom: 90px; } }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; background: var(--orange); transform-origin: left; transform: scaleX(var(--read, 0)); pointer-events: none; }

/* ---------- Páginas simples ---------- */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 6rem; }
.simple-page .big { font-weight: 900; font-size: clamp(5rem, 3rem + 10vw, 10rem); color: var(--orange); line-height: 1; margin-bottom: 1rem; font-variation-settings: "wdth" 125; }
.simple-page p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.simple-page .hero-actions { justify-content: center; margin-top: 2rem; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .hero h1 .line > span, .hero-lede, .hero-bar { opacity: 1 !important; transform: none !important; }
  .js .img-reveal:not(.in) img { clip-path: none; transform: none; }
  .live-dot::after { display: none; }
}
@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}


/* ===== V4 ===== */
/* cartões de serviços (página inicial) */
.svc-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .svc-cards { grid-template-columns: repeat(3, 1fr); } }
.svc-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--line-strong); border-top: 4px solid var(--orange); border-radius: 6px; }
.svc-card .icon { width: 32px; height: 32px; color: var(--navy); }
.svc-card h3 { margin: .25rem 0 0; font-size: 1.3rem; }
.svc-card p { margin: 0; color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; padding-top: .5rem; }
/* faixa de logos de certificações */
.logo-strip { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 1.75rem; padding: 0; }
.logo-strip li { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.1rem .9rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; text-align: center; }
.logo-strip img { display: block; width: auto; max-width: 100%; height: 110px; object-fit: contain; }
.logo-strip span { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
/* logos nos cartões de certificação */
.cert .cert-logo { display: block; width: auto; max-width: 100%; height: 120px; object-fit: contain; align-self: flex-start; margin-bottom: .25rem; }
/* outras áreas técnicas */
.areas-list { list-style: none; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; }
.areas-list li { border-top: 2px solid var(--navy); padding-top: 1rem; }
.areas-list .icon { width: 26px; height: 26px; color: var(--orange-text); margin-bottom: .6rem; }
.areas-list strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: .25rem; }
.areas-list span { color: var(--muted); font-size: .95rem; }
/* barra fixa no telemóvel com 3 botões */
.mobile-dock a, .mobile-dock button { font-size: .9rem; gap: .35rem; padding-inline: .4rem; }
.cta-actions { flex-wrap: wrap; }

.scale .area-grid { max-width: 360px; margin-inline: auto; gap: 5px; }
.scale .area-legend { max-width: 360px; margin-inline: auto; }
.cta-band h2 { max-width: 24ch; }

.main-nav a:not(.btn) { white-space: nowrap; padding-inline: .7rem; }
.header-cta .btn { white-space: nowrap; }

.cert .cert-logo, .logo-strip img { mix-blend-mode: multiply; }

/* V5: avisos legais junto aos números de telefone */
.call-note { display: block; font-size: .72rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; opacity: .8; font-variation-settings: normal; white-space: normal; }
.call-note-inline { font-size: .8em; opacity: .85; }
.header-phone > span { display: inline-flex; flex-direction: column; line-height: 1.15; }
.header-phone .call-note { font-size: .62rem; }
.cta-phone-wrap { display: inline-flex; flex-direction: column; gap: .35rem; }
.cta-phone-wrap .call-note { color: #DCE4EC; font-size: .8rem; }
.footer-contact li > span { display: block; }
.footer-contact .call-note { margin-top: .15rem; }
.main-nav .call-note-nav { text-align: center; opacity: .75; }
/* V5: página Trabalhe connosco */
.media-frame.recruit-frame { aspect-ratio: 16 / 9; }
