/* =====================================================================
   ZAYTA CNC — site institucional
   Paleta da marca: dourado #B98A1E · oliva #5F6739 · creme #FFF7D3 · grafite #0D1216
   ===================================================================== */
:root {
  --ink: #0E1317;
  --ink-2: #151B20;
  --ink-3: #1D252B;
  --line-d: rgba(244, 238, 220, .12);
  --cream: #F4EEDC;
  --cream-2: #EAE2CB;
  --paper: #F6F1E4;
  --line-l: rgba(14, 19, 23, .12);
  --gold: #B98A1E;
  --gold-hi: #D3A63C;
  --gold-lo: #8F6912;
  --olive: #5F6739;
  --olive-d: #474D2A;
  --text-d: rgba(244, 238, 220, .74);
  --text-l: #3A3F38;
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 26px;
}
.display .hl { color: var(--gold-hi); font-style: normal; }
.display-sm { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; }
.h2 { font-family: var(--f-display); font-stretch: 108%; font-weight: 650; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; margin: 6px 0 22px; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-d); max-width: 34em; margin: 0 0 34px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
}
.eyebrow .idx { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid currentColor; border-radius: 2px; font-size: .68rem; }
.eyebrow .coord { color: var(--text-d); border-right: 1px solid var(--line-d); padding-right: 12px; }
.light .eyebrow { color: var(--gold-lo); }

/* ---------- botões ---------- */
.btn {
  --bg: transparent; --fg: var(--cream); --bd: var(--line-d);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  border-radius: var(--r); font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s; position: relative; overflow: hidden;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: var(--gold); --fg: #17130A; --bd: var(--gold); }
.btn-gold:hover { --bg: var(--gold-hi); --bd: var(--gold-hi); }
.btn-ghost:hover { --bd: var(--gold-hi); --fg: var(--gold-hi); }
.btn-dark { --bg: var(--ink); --fg: var(--cream); --bd: var(--ink); }
.btn-dark:hover { --bg: var(--olive-d); --bd: var(--olive-d); }
.btn-cream { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); }
.btn-cream:hover { --bg: #fff; }
.btn-sm { padding: 10px 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 10px; color: var(--text-d); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--olive-d); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .25s var(--ease), color .2s; }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 16px; color: var(--gold-lo); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(14, 19, 23, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-d); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-symbol { width: 34px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand-symbol { transform: rotate(-8deg) scale(1.06); }
.brand-word { width: 104px; height: auto; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 12px; color: var(--text-d); border-radius: var(--r); transition: color .2s; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--cream); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-d); border-radius: var(--r); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- elementos técnicos ---------- */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.frame { position: relative; overflow: hidden; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cm { position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold-hi); z-index: 2; pointer-events: none; }
.cm.tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.cm.tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.cm.bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cm.br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(244,238,220,.35) 0 1px, transparent 1px 100px) bottom/100% 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(244,238,220,.2) 0 1px, transparent 1px 50px) bottom/100% 13px no-repeat,
    repeating-linear-gradient(90deg, rgba(244,238,220,.12) 0 1px, transparent 1px 10px) bottom/100% 7px no-repeat;
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(60% 70% at 92% 8%, rgba(255, 247, 211, .20), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(211, 166, 60, .55), transparent 60%),
    radial-gradient(60% 60% at 30% 60%, rgba(95, 103, 57, .55), transparent 70%),
    var(--ink);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(2%, -2%, 0) scale(1.04); } }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; position: relative; }
.hero-figure .frame { aspect-ratio: 10 / 13; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); background: #EAE3CF; }
.hero-figure .frame img, .about-figure .frame img, .solution-media .frame img { mix-blend-mode: multiply; }
.about-figure .frame, .solution-media .frame { background: #EAE3CF; }
.hero-figure figcaption { display: flex; justify-content: space-between; margin-top: 12px; color: var(--text-d); }
.toolpath { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.toolpath rect { fill: none; stroke: var(--gold-hi); stroke-width: .5; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; animation: cut 3.2s .6s var(--ease) forwards; filter: drop-shadow(0 0 4px rgba(211,166,60,.9)); }
@keyframes cut { to { stroke-dashoffset: 0; } }
.hero-seal { position: absolute; width: 92px; left: -46px; bottom: 40px; padding: 18px; background: var(--ink); border: 1px solid var(--line-d); border-radius: 50%; aspect-ratio: 1; object-fit: contain; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--gold); color: #17130A; overflow: hidden; border-block: 1px solid var(--gold-lo); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-stretch: 120%; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee img { width: 22px; height: auto; filter: brightness(0) opacity(.8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.section.light { background: var(--paper); color: var(--ink); }
.section.light p { color: var(--text-l); }
.section.dark { background: var(--ink); }
.section.olive { background: var(--olive-d); background-image: radial-gradient(80% 120% at 100% 0%, rgba(211,166,60,.18), transparent 60%); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.section-head.row > div:first-child { max-width: 680px; }
.section-intro { font-size: 1.08rem; color: var(--text-d); margin: 0; max-width: 40em; }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about-figure { margin: 0; position: relative; }
.about-figure .frame { aspect-ratio: 3 / 4; }
.dim-line { position: relative; margin-top: 18px; height: 1px; background: var(--ink); opacity: .55; }
.dim-line::before, .dim-line::after { content: ''; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--ink); }
.dim-line::before { left: 0; } .dim-line::after { right: 0; }
.dim-line span { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); background: var(--paper); padding: 0 10px; color: var(--ink); }
.about-copy p { font-size: 1.04rem; }
blockquote { margin: 34px 0; padding: 26px 0 26px 28px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-stretch: 105%; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.3; color: var(--olive-d); display: flex; gap: 20px; align-items: flex-start; }
blockquote img { width: 40px; flex: none; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-l); }
.stats div { padding: 22px 16px 0 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line-l); }
.stats dt { font-family: var(--f-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--gold-lo); line-height: 1; }
.stats dd { margin: 8px 0 0; font-size: .86rem; color: var(--text-l); }

/* ---------- serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.service-card { background: var(--ink); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: background .4s; }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, transparent 60%); }
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); transition: transform 1s var(--ease), filter .6s; }
.service-body { padding: 4px 30px 34px; position: relative; }
.service-n { color: var(--gold-hi); }
.service-card h3 { font-family: var(--f-display); font-stretch: 110%; font-size: 1.45rem; font-weight: 650; margin: 10px 0 10px; }
.service-card p { color: var(--text-d); margin: 0; font-size: .96rem; }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.service-card:hover { background: var(--ink-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }

/* ---------- soluções ---------- */
.solutions { display: grid; gap: clamp(70px, 10vw, 130px); }
.solution { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.solution.flip .solution-media { order: 2; }
.solution-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.solution-media .main { grid-column: 1 / -1; aspect-ratio: 16 / 11; background: var(--cream-2); }
.solution-media .main img[src$=".png"] { object-fit: contain; padding: 6%; }
.solution-media .thumb { aspect-ratio: 4 / 3; }
.solution-media .frame:hover img { transform: scale(1.05); }
.sol-n { color: var(--gold-lo); }
.ps { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-l); }
.ps p { margin: 0; }
.ps:last-of-type { border-bottom: 1px solid var(--line-l); margin-bottom: 30px; }
.tag { align-self: start; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--line-l); border-radius: 2px; text-align: center; color: var(--text-l); }
.tag.gold { background: var(--gold); border-color: var(--gold); color: #17130A; }

/* ---------- portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: transparent; border: 1px solid var(--line-d); color: var(--text-d); padding: 9px 14px; border-radius: 40px; font-size: .86rem; font-weight: 600; transition: all .25s; display: inline-flex; gap: 8px; align-items: center; }
.chip span { font-family: var(--f-mono); font-size: .68rem; opacity: .7; }
.chip:hover { border-color: var(--gold-hi); color: var(--cream); }
.chip.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.gallery { columns: 4 240px; column-gap: 14px; }
.g-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--ink-3); position: relative; overflow: hidden; break-inside: avoid; border-radius: 2px; }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.g-cap { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; text-align: left; background: linear-gradient(to top, rgba(14,19,23,.92), transparent); display: grid; gap: 2px; transform: translateY(8px); opacity: 0; transition: all .4s var(--ease); }
.g-cap .mono { color: var(--gold-hi); font-size: .64rem; }
.g-cap strong { font-weight: 600; font-size: .95rem; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.hide { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 11, 13, .95); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-d); text-align: center; }
.lightbox button { background: none; border: 1px solid var(--line-d); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: border-color .2s; }
.lightbox button:hover { border-color: var(--gold-hi); }
.lightbox button svg { width: 22px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-close { position: absolute; top: 18px; right: 18px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, rgba(244,238,220,.45) 0 6px, transparent 6px 12px); }
.step { position: relative; padding: 50px 28px 0 0; }
.step::before { content: ''; position: absolute; top: 9px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 5px rgba(211,166,60,.2); }
.step-n { color: var(--gold-hi); }
.step h3 { font-family: var(--f-display); font-stretch: 110%; font-size: 1.3rem; font-weight: 650; margin: 8px 0 10px; }
.step p { color: var(--text-d); margin: 0; font-size: .95rem; }

/* ---------- calculadora ---------- */
.calc-section { background: var(--paper); background-image: linear-gradient(var(--line-l) 1px, transparent 1px), linear-gradient(90deg, var(--line-l) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }
.calc-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, var(--paper) 80%); pointer-events: none; }
.calc-section .wrap { position: relative; }
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 50px 100px -50px rgba(14,19,23,.4); border-radius: 6px; overflow: hidden; }
.calc-form { padding: clamp(24px, 4vw, 46px); display: grid; gap: 30px; align-content: start; }
.calc-step { display: grid; gap: 14px; }
.calc-step[hidden] { display: none; }
.calc-label { font-family: var(--f-display); font-stretch: 105%; font-weight: 650; font-size: 1.1rem; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.calc-label b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold-hi); font-family: var(--f-mono); font-size: .78rem; }
.calc-label em { font-style: normal; font-weight: 400; font-size: .85rem; color: #888; }
.svc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: 8px; }
.svc-opt { position: relative; }
.svc-opt input { position: absolute; opacity: 0; }
.svc-opt span { display: flex; align-items: center; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line-l); border-radius: var(--r); font-weight: 600; font-size: .9rem; line-height: 1.25; color: var(--ink); cursor: pointer; transition: all .2s; background: #fff; }
.svc-opt span:hover { border-color: var(--gold); }
.svc-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: inset 3px 0 0 var(--gold-hi); }
.svc-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.svc-desc { margin: 0; font-size: .88rem; color: #6c6f66 !important; min-height: 1.4em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 6px; }
.field > span { font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #555; text-transform: uppercase; }
.field em { font-style: normal; font-family: var(--f-mono); font-weight: 400; color: var(--gold-lo); text-transform: none; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d9d4c6; border-radius: var(--r); background: #FBF9F4; color: var(--ink);
  font: 600 1rem var(--f-body); transition: border-color .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' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23555' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,30,.18); background-color: #fff; }
.field[hidden] { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d9d4c6; border-radius: var(--r); padding: 4px; background: #FBF9F4; }
.seg[hidden] { display: none; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 3px; font-size: .88rem; font-weight: 600; color: #555; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--olive); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }
.extras { display: grid; gap: 8px; }
.extra { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-l); border-radius: var(--r); cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s; }
.extra:hover { border-color: var(--gold); }
.extra input { width: 18px; height: 18px; accent-color: var(--olive); flex: none; }
.extra small { margin-left: auto; font-family: var(--f-mono); font-size: .7rem; color: #888; font-weight: 400; white-space: nowrap; }
.calc-error { margin: -10px 0 0; color: #A33B1F !important; font-weight: 600; font-size: .9rem; min-height: 0; }
.calc-error:empty { display: none; }

.calc-panel { background: var(--ink); color: var(--cream); padding: clamp(24px, 3.4vw, 38px); display: flex; flex-direction: column; gap: 20px; position: relative; }
.calc-panel::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; mask-image: linear-gradient(#000, transparent 50%); -webkit-mask-image: linear-gradient(#000, transparent 50%); }
.panel-top { display: flex; justify-content: space-between; align-items: center; color: var(--text-d); position: relative; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #7BD389; box-shadow: 0 0 10px #7BD389; animation: blink 2s infinite; display: inline-block; }
@keyframes blink { 50% { opacity: .35; } }
.preview { position: relative; height: 150px; border: 1px dashed var(--line-d); border-radius: var(--r); display: grid; place-items: center; }
.preview svg { width: 100%; height: 100%; padding: 22px 30px; overflow: visible; }
.preview rect { fill: rgba(211,166,60,.1); stroke: var(--gold-hi); stroke-width: 1; vector-effect: non-scaling-stroke; transition: all .45s var(--ease); }
.pv-w, .pv-h { position: absolute; color: var(--gold-hi); font-size: .66rem; }
.pv-w { bottom: 4px; left: 50%; transform: translateX(-50%); }
.pv-h { right: 4px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 340px; overflow: auto; position: relative; }
.items .empty { color: var(--text-d); font-size: .9rem; text-align: center; padding: 20px 10px; border: 1px solid var(--line-d); border-radius: var(--r); }
.item { border: 1px solid var(--line-d); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; background: var(--ink-2); animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } }
.item-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.item-head strong { font-size: .95rem; }
.item-spec { font-family: var(--f-mono); font-size: .68rem; color: var(--text-d); letter-spacing: .04em; }
.item-price { font-family: var(--f-mono); color: var(--gold-hi); font-size: .85rem; white-space: nowrap; }
.item-rm { background: none; border: 0; color: var(--text-d); font-size: .78rem; padding: 0; text-align: left; text-decoration: underline; width: max-content; }
.item-rm:hover { color: #E28A6E; }
.totals { position: relative; display: grid; gap: 10px; border-top: 1px solid var(--line-d); padding-top: 18px; margin-top: auto; }
.totals[hidden] { display: none; }
.adj { display: grid; gap: 4px; font-size: .84rem; color: var(--text-d); }
.adj div { display: flex; justify-content: space-between; gap: 10px; }
.adj span:last-child { font-family: var(--f-mono); white-space: nowrap; }
.total-label { color: var(--text-d); margin-top: 6px; }
.total-value { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.1; color: var(--gold-hi); }
.total-value .nw { white-space: nowrap; }
.total-value .to { opacity: .55; font-weight: 400; font-size: .7em; }
.total-value small { display: block; font-size: .9rem; font-weight: 500; color: var(--text-d); font-family: var(--f-body); margin-top: 4px; }
.disclaimer { font-size: .76rem; line-height: 1.5; color: var(--text-d); padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(185,138,30,.08); margin: 4px 0 6px; }
.send-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.send-fields input { height: 46px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-d); background: var(--ink-2); color: var(--cream); font: 600 .92rem var(--f-body); width: 100%; }
.send-fields input::placeholder { color: rgba(244,238,220,.4); }
.send-fields input:focus { outline: none; border-color: var(--gold-hi); }
.calc-off { padding: 30px; background: #fff; border: 1px solid var(--line-l); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: url('/uploads/gradiente-2.jpg') center/cover; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,19,23,.15), rgba(14,19,23,.55)); }
.cta-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.cta-seal { width: clamp(150px, 20vw, 240px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta p { font-size: 1.1rem; max-width: 36em; color: rgba(255,255,255,.88); margin: 0 0 28px; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: stretch; }
.contact-copy > p { color: var(--text-d); }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-d); align-items: flex-start; }
.contact-list li:last-child { border-bottom: 1px solid var(--line-d); }
.contact-list svg { width: 22px; height: 22px; color: var(--gold-hi); flex: none; margin-top: 2px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list .mono { color: var(--text-d); font-size: .64rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-hi); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; min-height: 440px; border: 1px solid var(--line-d); background: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) invert(.92) hue-rotate(180deg) contrast(.9) sepia(.15); }

/* ---------- footer ---------- */
.site-footer { background: #090D10; border-top: 1px solid var(--line-d); padding: 70px 0 40px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.footer-brand img:first-child { width: 56px; height: auto; }
.footer-brand img:nth-child(2) { width: 140px; height: auto; }
.footer-brand p { color: var(--text-d); margin: 0; font-family: var(--f-display); font-stretch: 110%; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; color: var(--text-d); width: max-content; }
.footer-nav a:hover { color: var(--gold-hi); }
.footer-meta { color: var(--text-d); }
.footer-meta p { margin: 0 0 8px; }
.footer-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--text-d); }
.footer-credit .mono { font-size: .64rem; }
.scalle { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.scalle span, .scalle img { transition: opacity .3s; }
.scalle { position: relative; text-decoration: none; }
.scalle:hover strong { color: #B15CFF; }
.scalle strong { transition: color .3s; }
.scalle img { width: 36px; height: auto; }
.scalle img.on { position: absolute; left: 0; opacity: 0; }
.scalle:hover img.on { opacity: 1; }
.scalle strong { font-family: var(--f-display); font-stretch: 108%; font-weight: 650; font-size: .92rem; letter-spacing: .01em; }
@media (max-width: 600px) { .site-footer { padding-bottom: 96px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- pop-up de captação ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.lead-modal[hidden] { display: none; }
.lead-backdrop { position: absolute; inset: 0; background: rgba(8,11,13,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .4s; }
.lead-card { position: relative; width: min(760px, 100%); display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper); color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0,0,0,.7); animation: pop .5s var(--ease); max-height: calc(100vh - 32px); overflow-y: auto; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.lead-art { background: url('/uploads/gradiente-1.jpg') center/cover; display: grid; place-items: center; min-height: 200px; position: relative; }
.lead-art img { width: 46%; max-width: 150px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.lead-body { padding: clamp(26px, 4vw, 42px); }
.lead-body .eyebrow { color: var(--gold-lo); margin-bottom: 12px; }
.lead-body h2 { font-family: var(--f-display); font-stretch: 108%; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.1; margin: 0 0 10px; }
.lead-body > p { color: var(--text-l); margin: 0 0 20px; font-size: .96rem; }
#lead-form { display: grid; gap: 12px; }
#lead-form[hidden], .lead-success[hidden] { display: none; }
.lead-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(14,19,23,.08); display: grid; place-items: center; color: var(--ink); }
.lead-close:hover { background: rgba(14,19,23,.16); }
.lead-close svg { width: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--text-l); line-height: 1.45; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--olive); flex: none; }
.consent a { color: var(--olive-d); font-weight: 700; }
.lead-error { margin: 0; color: #A33B1F; font-weight: 600; font-size: .86rem; }
.lead-error:empty { display: none; }
.lead-success { text-align: center; padding: 20px 0; }
.lead-success img { width: 60px; margin: 0 auto 14px; }
.lead-success p { font-weight: 600; font-size: 1.05rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- página de documento ---------- */
.page-doc { background: var(--paper); color: var(--ink); }
.page-doc .site-header { background: var(--ink); }
.doc { padding: 140px var(--gut) 90px; max-width: 820px; }
.doc h2 { font-family: var(--f-display); font-stretch: 105%; font-size: 1.3rem; margin: 36px 0 8px; }
.doc p { color: var(--text-l); }
.doc .eyebrow { color: var(--gold-lo); }
.doc .muted { font-size: .85rem; margin-top: 40px; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; background: rgba(14,19,23,.97); backdrop-filter: blur(14px); padding: 14px var(--gut) 26px; border-bottom: 1px solid var(--line-d); transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1; }
  .main-nav a { font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
  .main-nav a::after { display: none; }
  .nav-open .main-nav { transform: none; }
  .nav-open .site-header { background: rgba(14,19,23,.97); }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-inner, .about, .solution, .contact { grid-template-columns: 1fr; }
  .solution.flip .solution-media { order: 0; }
  .hero-figure { max-width: 420px; width: 100%; margin: 10px auto 0; }
  .hero-seal { left: auto; right: -10px; bottom: -20px; width: 76px; }
  .about-figure { max-width: 460px; }
  .cta-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-art { min-height: 120px; }
  .lead-art img { width: 70px; }
}
@media (max-width: 600px) {
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .brand-word { width: 88px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row, .field-row.three { grid-template-columns: 1fr 1fr; }
  .field-row.three .field:last-child { grid-column: 1 / -1; }
  .ps { grid-template-columns: 1fr; gap: 10px; }
  .tag { justify-self: start; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-l); padding-top: 16px; }
  .stats div { padding-bottom: 16px; }
  .gallery { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; }
  .g-cap { opacity: 1; transform: none; padding: 30px 10px 10px; }
  .g-cap strong { font-size: .8rem; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 60px 16px 20px; gap: 16px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { justify-self: end; grid-row: 2; } .lb-next { grid-row: 2; }
  .send-fields { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .eyebrow .coord { display: none; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
