/* ============================================================
   Espaço Real — Website
   ============================================================ */
:root {
  --red: #cd163f;
  --red-600: #b01236;
  --red-dark: #840029;
  --red-soft: #fbeef1;
  --ink: #141418;
  --ink-2: #26262d;
  --text: #3a3a42;
  --muted: #6d6d77;
  --line: #e9e5e0;
  --soft: #f6f4f1;
  --white: #fff;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(20,20,24,.04), 0 8px 24px rgba(20,20,24,.06);
  --shadow-lg: 0 2px 6px rgba(20,20,24,.05), 0 24px 60px rgba(20,20,24,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 92px;
  --container: 1240px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-lg { width: 30px; height: 30px; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--red); }
.section-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 18px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.thin { font-weight: 300; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1.2; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(205,22,63,.7); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(205,22,63,.75); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 15px; border-bottom: 2px solid var(--red); padding-bottom: 4px; transition: gap .25s var(--ease), color .25s; }
.link-arrow:hover { gap: 14px; color: var(--red); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(20,20,24,.06); transition: height .3s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
body { padding-top: var(--header-h); }
body.page-inicio, body.page-projetos, body.page-servicos, body.page-contactos, body.page-privacidade { padding-top: 0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { position: relative; display: block; height: 70px; flex: none; transition: height .3s var(--ease); }
.brand-logo { height: 100%; width: auto; transition: opacity .3s; }
.brand-light { position: absolute; inset: 0; opacity: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 16px; font-weight: 600; font-size: 15.5px; color: var(--ink); transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red); }
.nav-mobile-extra { display: none; }
.main-nav a.nav-home { display: flex; align-items: center; height: 100%; }
.nav-home-ico { width: 20px; height: 20px; }
.nav-home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#sobre { scroll-margin-top: 70px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); transition: color .2s; }
.header-phone .ico { color: var(--red); }
.header-phone:hover { color: var(--red); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle .bar { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, background .3s; }

.site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.site-header.is-scrolled { height: 74px; box-shadow: 0 6px 30px rgba(20,20,24,.08); }
.site-header.is-scrolled .brand { height: 56px; }

/* header transparente (sobre imagem) */
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) { background: transparent; border-color: rgba(255,255,255,.12); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) .brand-dark { opacity: 0; }
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) .brand-light { opacity: 1; }
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) .main-nav a,
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) .header-phone { color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.menu-open) .nav-toggle .bar { background: #fff; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,16,.85) 0%, rgba(12,12,16,.55) 45%, rgba(12,12,16,.15) 100%), linear-gradient(0deg, rgba(12,12,16,.7) 0%, rgba(12,12,16,0) 40%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 160px; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 28px; max-width: 900px; }
.hero h1 .thin { color: rgba(255,255,255,.92); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 600px; color: rgba(255,255,255,.82); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.14); }
.hero-strip { display: flex; flex-wrap: wrap; gap: 8px 0; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-strip span { display: inline-flex; align-items: center; gap: 14px; }
.hero-strip span + span::before { content: ''; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); margin-right: 6px; }
.hero-scroll { position: absolute; right: 28px; bottom: 90px; z-index: 2; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 3px; animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1400px) { .hero-scroll { display: block; right: calc((100vw - var(--container)) / 2 - 40px); } }

/* ---------- Secções ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 56px 0; }
.section-flush-top { padding-top: 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.72); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.6); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; max-width: 700px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .section-title { margin-bottom: 12px; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.about-media { position: relative; padding: 0 0 40px 40px; }
.about-media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 62%; height: 72%; background: var(--red); border-radius: var(--radius); }
.about-img { position: relative; aspect-ratio: 4 / 5; background: var(--soft) center / cover no-repeat; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -28px; bottom: 80px; display: flex; align-items: center; gap: 16px; background: #fff; padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--red); }
.about-badge strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.about-badge span { color: var(--muted); font-size: 14px; }
.values { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.values li { display: flex; gap: 18px; align-items: flex-start; }
.values strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.values p { margin: 0; color: var(--muted); font-size: 15.5px; }
.values-ico { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.values-ico .ico { width: 24px; height: 24px; }

/* ---------- Cartões de serviço ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 40px 36px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.service-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-num { position: absolute; top: 26px; right: 30px; font-size: 44px; font-weight: 200; color: var(--line); letter-spacing: -.04em; line-height: 1; transition: color .4s; }
.service-card:hover .service-num { color: var(--red-soft); }
.service-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--red-soft); color: var(--red); margin-bottom: 28px; transition: background .4s, color .4s; }
.service-ico .ico { width: 28px; height: 28px; }
.service-card:hover .service-ico { background: var(--red); color: #fff; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); transition: gap .25s, color .25s; }
.service-card:hover .service-more { color: var(--red); gap: 12px; }
.service-card-cta { background: var(--ink); border-color: var(--ink); justify-content: flex-end; }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255,255,255,.65); }
.service-card-cta .service-more { color: #fff; }
.service-card-cta:hover { background: var(--red); border-color: var(--red); }
.service-card-cta:hover .service-more, .service-card-cta:hover p { color: #fff; }

/* ---------- Projetos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.project-card.is-hidden { display: none; }
.project-link { display: flex; flex-direction: column; height: 100%; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,24,.35), transparent 50%); opacity: 0; transition: opacity .5s; }
.project-link:hover .project-media img { transform: scale(1.06); }
.project-link:hover .project-media::after { opacity: 1; }
.project-status { position: absolute; top: 16px; left: 16px; z-index: 1; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; }
.project-status.is-progress { background: var(--red); color: #fff; }
.project-view { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--red); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.project-view .ico { width: 22px; height: 22px; }
.project-link:hover .project-view { transform: scale(1); opacity: 1; }
.project-body { padding: 22px 4px 0; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta span + span { color: var(--muted); }
.project-body h3 { font-size: 22px; margin-bottom: 8px; transition: color .25s; }
.project-link:hover h3 { color: var(--red); }
.project-body p { color: var(--muted); font-size: 15.5px; margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 40px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; transition: all .25s var(--ease); }
.chip span { font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: rgba(255,255,255,.6); }

.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.empty-state .values-ico { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 24px; }
.empty-state .values-ico .ico { width: 32px; height: 32px; }
.empty-state h2 { font-size: 30px; }
.empty-state p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 40px 32px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.step-n { display: block; font-size: 56px; font-weight: 200; color: var(--red); line-height: 1; margin-bottom: 20px; letter-spacing: -.04em; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: 110px 0; overflow: hidden; background: var(--ink); color: #fff; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(132,0,41,.95) 0%, rgba(205,22,63,.82) 45%, rgba(20,20,24,.6) 100%); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; max-width: 640px; }
.cta-inner p { color: rgba(255,255,255,.82); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero-sm { min-height: 340px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 14s var(--ease) forwards; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,16,.85) 0%, rgba(12,12,16,.45) 60%, rgba(12,12,16,.25) 100%), linear-gradient(0deg, rgba(12,12,16,.55), transparent 60%); }
.page-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -.035em; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 19px; max-width: 620px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.85); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: #fff; }

/* ---------- Serviços (página) ---------- */
.services-index { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.services-index a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 40px; font-weight: 600; font-size: 15px; color: var(--ink); transition: all .25s var(--ease); }
.services-index a span { font-size: 12px; color: var(--red); font-weight: 700; }
.services-index a .ico { color: var(--red); }
.services-index a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.services-index a:hover span, .services-index a:hover .ico { color: #fff; }
.service-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; padding: 70px 0; scroll-margin-top: 100px; }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row.is-reversed .service-row-media { order: 2; }
.service-row-media { position: relative; }
.service-row-img { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); background: var(--soft) center / cover no-repeat; box-shadow: var(--shadow-lg); }
.service-row-num { position: absolute; top: -34px; right: -10px; font-size: 120px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(205,22,63,.35); letter-spacing: -.05em; pointer-events: none; }
.service-row.is-reversed .service-row-num { right: auto; left: -10px; }
.service-row-text h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.service-row-text .lead { font-size: 19px; }
.service-row-text > p:not(.lead) { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.check-list .ico { color: #fff; background: var(--red); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 1px; stroke-width: 2.4; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; padding: 36px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.feature .values-ico { margin-bottom: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Projeto (detalhe) ---------- */
.project-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; }
.project-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 14s var(--ease) forwards; }
.project-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,16,.88) 0%, rgba(12,12,16,.3) 55%, rgba(12,12,16,.35) 100%); }
.project-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; }
.project-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 68px); letter-spacing: -.035em; max-width: 960px; margin-bottom: 12px; }
.project-hero-loc { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 18px; margin: 0; }
.project-hero-loc .ico { color: var(--red); }
.draft-flag { display: inline-block; background: #f5b400; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin-bottom: 16px; }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.project-lead { font-size: 22px; color: var(--ink); margin-bottom: 28px; }
.project-aside { position: sticky; top: 100px; }
.facts-card { background: var(--soft); border-radius: var(--radius-lg); padding: 34px 30px; }
.facts-card h2 { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.facts { margin: 0 0 28px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.facts dt .ico { color: var(--red); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-size: 15px; }
.facts-card .btn + .btn { margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery-item.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); opacity: 0; transform: scale(.7); transition: all .35s var(--ease); }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10,10,12,.96); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: rgba(255,255,255,.75); margin-top: 14px; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--red); }
.lightbox button .ico { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 34px; left: 30px; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; letter-spacing: .1em; }

/* ---------- Texto corrido ---------- */
.prose { color: var(--text); }
.prose h2 { font-size: 24px; margin-top: 1.8em; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contactos ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info > p { color: var(--muted); margin-bottom: 36px; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s; }
.contact-cards li:hover { border-color: transparent; box-shadow: var(--shadow); }
.contact-cards small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-cards div > a, .contact-cards div > span { display: block; font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.45; }
.contact-cards a:hover { color: var(--red); }
.contact-cards em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px; border-top: 4px solid var(--red); scroll-margin-top: 110px; }
.contact-form h3 { font-size: 26px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141418' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(205,22,63,.1); }
.field-error { display: none; color: var(--red); font-size: 13px; font-weight: 600; margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); background: #fff; }
.field.has-error .field-error { display: block; }
.field-check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.field-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.field-check a { color: var(--red); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 20px; }
.form-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.form-note .ico { color: var(--red); }
.alert { padding: 14px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.alert-success { background: #e9f7ef; color: #1c7a44; border: 1px solid #c3ead3; }
.alert-error { background: var(--red-soft); color: var(--red-dark); border: 1px solid #f3c9d3; }
.form-status:empty { display: none; }
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.map-wrap iframe:hover { filter: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0f12; color: rgba(255,255,255,.6); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 48px; padding-top: 88px; padding-bottom: 64px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 340px; }
.footer-title { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links, .footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contacts .ico { color: var(--red); margin-top: 3px; }
.footer-contacts a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: all .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-top: 24px; padding-bottom: 24px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }
.footer-legal { flex-wrap: wrap; }
.footer-credit a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-credit a:hover { color: var(--red); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(205,22,63,.7); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .35s var(--ease); }
.to-top .ico { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); }

.notfound { padding-top: calc(var(--header-h) + 80px); }
.notfound-code { display: block; font-size: 140px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.05em; margin-bottom: 10px; }
body.page-404 { padding-top: 0; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .hero-strip { justify-content: center; gap: 10px 22px; }
  .hero-strip span::before, .hero-strip span + span::before { content: ''; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); margin-right: 0; }
}
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .about-grid, .service-row { gap: 60px; }
  .project-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .contact-grid { gap: 48px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .brand { height: 54px; }
  .nav-toggle { display: flex; }
  .header-cta, .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 30px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; overflow-y: auto; }
  .site-header.is-scrolled .main-nav { top: 74px; }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 28px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .main-nav a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 30px; }
  .nav-home-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-left: 12px; }
  .nav-home-ico { width: 26px; height: 26px; }
  .main-nav .nav-mobile-extra a { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; padding: 4px 0; border: 0; color: var(--ink) !important; }
  .nav-mobile-extra .ico { color: var(--red); }
  .menu-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.no-scroll { overflow: hidden; }
  .section { padding: 90px 0; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-badge { right: -10px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 44px; padding: 56px 0; }
  .service-row.is-reversed .service-row-media { order: 0; }
  .project-layout { grid-template-columns: 1fr; }
  .project-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-content { padding-bottom: 140px; }
  .hero-actions .btn { width: 100%; }
  .hero-strip { gap: 8px 16px; font-size: 11px; letter-spacing: .12em; }
  .services-grid, .projects-grid, .features { grid-template-columns: 1fr; }
  .service-card { padding: 32px 26px 28px; }
  .about-media { padding: 0 0 24px 24px; }
  .about-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0 auto; width: fit-content; }
  .steps { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .service-row-num { font-size: 80px; top: -24px; }
  .page-hero { min-height: 380px; }
  .page-hero-inner, .project-hero-inner { padding-bottom: 44px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 32px 22px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.is-wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .cta-band { padding: 80px 0; }
  .cta-actions .btn { width: 100%; }
  .map-wrap iframe { height: 320px; }
}
