/* M&E Engenharia e Soluções — versão HTML/CSS */
:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --muted-bg: #f1f4f8;
  --fg: #0f1f45;
  --navy: #1b2d5c;
  --navy-deep: #0d1a3a;
  --electric: #1f63e0;
  --electric-dark: #164fb8;
  --cyan: #2fd0f0;
  --muted: #5d6b85;
  --border: #e1e6ee;
  --danger: #d33a3a;
  --wa: #25d366;
  --wa-hover: #1ebe5b;
  --shadow-soft: 0 18px 48px -24px rgba(13, 26, 58, .35);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-sans); color: var(--fg); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.break { word-break: break-all; }
.c-cyan { color: var(--cyan); }
.rel { position: relative; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ico-lg { width: 40px; height: 40px; color: var(--electric); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-weight: 700; font-size: 14px; padding: 12px 20px; border: 1px solid transparent; transition: all .2s ease; }
.btn .ico { width: 16px; height: 16px; }
.btn-sm { padding: 10px 16px; }
.btn-lg { padding: 14px 24px; text-transform: uppercase; letter-spacing: .03em; }
.btn-primary { background: var(--electric); color: #fff; box-shadow: 0 8px 24px -10px rgba(31, 99, 224, .7); }
.btn-primary:hover { background: var(--electric-dark); box-shadow: 0 0 28px -4px rgba(47, 208, 240, .7); }
.btn-primary:disabled { opacity: .7; cursor: not-allowed; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(47,208,240,.7); box-shadow: 0 0 28px -6px var(--cyan); }
.btn-outline { border-color: var(--border); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; transition: all .3s; }
.header.scrolled { background: rgba(255,255,255,.92); border-color: var(--border); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 14px; line-height: 1.15; }
.brand-name span { display: block; }
@media (min-width: 640px) { .brand-name { font-size: 18px; } .brand-name span { display: inline; } }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 600; color: rgba(27,45,92,.85); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--electric); transition: width .25s; }
.nav-link:hover { color: var(--electric); }
.nav-link:hover::after { width: 100%; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--navy); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }
.nav-mobile { background: #fff; border-top: 1px solid var(--border); }
.nav-mobile .container { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; padding-bottom: 16px; }
.nav-mobile a:not(.btn) { padding: 10px 8px; border-radius: 6px; font-weight: 600; font-size: 14px; color: var(--navy); }
.nav-mobile a:not(.btn):hover { background: var(--surface); color: var(--electric); }
.nav-mobile .btn { margin-top: 8px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } .menu-toggle, .nav-mobile { display: none !important; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--navy-deep); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13,26,58,.82) 10%, rgba(13,26,58,.6) 52%, rgba(13,26,58,.38) 100%); }
.hero-content { padding-top: 128px; padding-bottom: 80px; max-width: 1280px; }
.hero-content > * { max-width: 768px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 { margin-top: 24px; font-size: 36px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.hero-lead { margin-top: 20px; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-impact { margin-top: 16px; font-weight: 700; color: var(--cyan); }
.hero-text { margin-top: 12px; color: rgba(255,255,255,.75); }
.hero-ctas { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-content { padding-top: 160px; padding-bottom: 96px; } .hero h1 { font-size: 48px; } .hero-lead { font-size: 20px; } .hero-ctas { flex-direction: row; } }
@media (min-width: 1024px) { .hero-content { padding-top: 192px; padding-bottom: 112px; } .hero h1 { font-size: 60px; } }

/* Sections */
.section { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.bordered { border-bottom: 1px solid var(--border); }
.tinted { background: var(--muted-bg); }
.surface { background: var(--surface); }
.dark { background-color: var(--navy-deep); }
.lazy-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (min-width: 768px) { .lazy-bg:not(.planta) { background-attachment: fixed; } }
.overlay { position: absolute; inset: 0; }
.ov-120 { background: linear-gradient(120deg, rgba(13,26,58,.85), rgba(13,26,58,.68) 45%, rgba(13,26,58,.5)); }
.ov-100 { background: linear-gradient(100deg, rgba(13,26,58,.86), rgba(13,26,58,.6) 48%, rgba(13,26,58,.3)); }
.ov-110 { background: linear-gradient(110deg, rgba(13,26,58,.85), rgba(13,26,58,.68) 45%, rgba(13,26,58,.5)); }
.ov-cta { background: rgba(27,45,92,.7); }
.head { max-width: 672px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--electric); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow.cyan { color: var(--cyan); }
h2 { margin-top: 16px; font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--navy); }
h2.white { color: #fff; }
@media (min-width: 640px) { h2 { font-size: 36px; } }
.muted { color: var(--muted); }
.light { color: rgba(255,255,255,.75); }
.lg { font-size: 18px; }
.small { font-size: 12px; }
.head p, .grid-2 > div > p:not(.eyebrow), .resp p.light, .narrow p.light { margin-top: 16px; }
.strong { margin-top: 16px; font-weight: 600; color: var(--navy); }
.grid-2 { display: grid; gap: 48px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; } .grid-2.center { align-items: center; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(13,26,58,.04); }

/* Sobre */
.points { display: grid; gap: 16px; align-self: start; }
.point { display: flex; gap: 16px; padding: 20px; transition: transform .3s, border-color .3s; }
.point:hover { transform: translateY(-2px); border-color: rgba(31,99,224,.35); }
.icon-box { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; border: 1px solid rgba(31,99,224,.2); background: rgba(31,99,224,.05); color: var(--electric); }
.point strong { display: block; font-size: 14px; color: var(--navy); }
.point span span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Serviços */
.services { margin-top: 48px; display: grid; gap: 20px; align-items: start; }
@media (min-width: 768px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(13,26,58,.75); backdrop-filter: blur(10px); transition: transform .3s, border-color .3s, box-shadow .3s, background .3s; }
.service:hover { transform: translateY(-4px); border-color: rgba(47,208,240,.45); box-shadow: 0 16px 36px -20px var(--cyan); }
.service.open { border-color: rgba(47,208,240,.55); background: rgba(13,26,58,.95); box-shadow: 0 18px 44px -18px var(--cyan); transform: none; }
.service-img { position: relative; aspect-ratio: 8/5; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-img img { transform: scale(1.025); }
.service-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-deep), rgba(13,26,58,.3), transparent); }
.service-badges { position: absolute; left: 24px; right: 24px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; border: 1px solid rgba(47,208,240,.4); background: rgba(13,26,58,.8); color: var(--cyan); transition: transform .3s, box-shadow .3s; }
.service-icon .ico { width: 24px; height: 24px; }
.service:hover .service-icon { transform: scale(1.05); box-shadow: 0 0 24px -6px var(--cyan); }
.service-num { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--cyan); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 16px 24px 24px; }
.service-body h3 { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.35; }
.service-body p { margin-top: 12px; flex: 1; font-size: 14px; color: rgba(255,255,255,.7); }
.service-toggle { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.1); background: none; color: var(--cyan); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.service-toggle:hover { color: #fff; }
.service-toggle .ico { width: 16px; height: 16px; transition: transform .3s; }
.service.open .service-toggle .ico { transform: rotate(180deg); }
.service-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.service.open .service-details { grid-template-rows: 1fr; }
.service-details > div { overflow: hidden; }
.service-details-inner { border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); padding: 24px; }
.service-details h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--cyan); }
.service-details h4:not(:first-child) { margin-top: 24px; }
.service-details ul { margin-top: 12px; display: grid; gap: 10px; }
.service-details li { position: relative; padding-left: 12px; font-size: 14px; color: rgba(255,255,255,.72); }
.service-details li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: rgba(47,208,240,.75); }

/* Quando contratar */
.cases-when { margin-top: 56px; display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .cases-when { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-when { grid-template-columns: repeat(3, 1fr); row-gap: 56px; } }
.when { position: relative; overflow: hidden; padding-left: 48px; border-left: 1px solid rgba(31,99,224,.35); outline: none; cursor: default; }
@media (min-width: 640px) { .when { padding-left: 0; padding-top: 40px; border-left: 0; border-top: 1px solid rgba(31,99,224,.35); } }
.when-led { position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 14px 2px var(--electric); transition: transform .3s; }
.when:hover .when-led, .when:focus .when-led { transform: scale(1.5); }
.when-pulse { position: absolute; left: 10px; top: 12px; width: 3px; height: 33%; border-radius: 99px; background: linear-gradient(180deg, transparent, var(--cyan), var(--electric), transparent); opacity: 0; }
.when:hover .when-pulse, .when:focus .when-pulse { opacity: 1; animation: pulseY 1.6s linear infinite; }
@media (min-width: 640px) {
  .when-pulse { left: 0; top: 10px; height: 3px; width: 33%; background: linear-gradient(90deg, transparent, var(--cyan), var(--electric), transparent); }
  .when:hover .when-pulse, .when:focus .when-pulse { animation: pulseX 1.6s linear infinite; }
}
@keyframes pulseY { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
@keyframes pulseX { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.when-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: rgba(31,99,224,.25); transition: color .3s; }
.when:hover .when-num, .when:focus .when-num { color: rgba(31,99,224,.7); text-shadow: 0 0 22px rgba(31,99,224,.65); }
.when h3 { margin-top: 8px; font-size: 18px; color: var(--navy); }
.when p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 448px; }

/* Faixas */
.band { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy-deep); }
.band-inner { padding-top: 96px; padding-bottom: 96px; }
@media (min-width: 1024px) { .band-inner { padding-top: 128px; padding-bottom: 128px; } }
.narrow { max-width: 672px; }
.label-light { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.segments { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .segments { grid-template-columns: repeat(3, 1fr); } }
.segments li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); transition: all .3s; }
.segments li:hover { transform: translateY(-2px); border-color: rgba(47,208,240,.55); background: rgba(255,255,255,.12); }
.segments .ico { color: var(--cyan); }
.segments span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.3; }

/* Timeline */
.timeline { position: relative; margin-top: 56px; }
.timeline-line { position: absolute; left: 22px; top: 0; width: 1px; height: 100%; background: var(--border); overflow: hidden; }
.timeline-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--electric), var(--cyan)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s ease-out; }
.timeline.visible .timeline-fill { transform: none; }
.energy-pulse { display: none; }
.timeline ol { display: grid; gap: 32px; }
.timeline li { position: relative; padding-left: 56px; opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
.timeline.visible li { opacity: 1; transform: none; }
.step-num { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(31,99,224,.35); background: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--electric); box-shadow: 0 0 0 5px #fff, 0 0 18px -4px rgba(31,99,224,.55); transition: transform .3s; }
.timeline li:hover .step-num { transform: scale(1.05); border-color: rgba(31,99,224,.7); }
.timeline h3 { font-size: 18px; color: var(--navy); }
.timeline p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 320px; }
@media (min-width: 1280px) {
  .timeline-line { left: 0; top: 22px; width: 100%; height: 1px; }
  .timeline-fill { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--electric), var(--cyan)); }
  .energy-pulse { display: block; position: absolute; top: 0; bottom: 0; width: 112px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: energy 3.5s linear infinite; }
  .timeline ol { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .timeline li { padding-left: 0; padding-top: 64px; }
}
@keyframes energy { from { left: -112px; } to { left: 100%; } }

/* Experiência */
.cases { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 768px) { .cases { grid-template-columns: repeat(2, 1fr); } .cases .case:last-child:nth-child(odd) { grid-column: span 2; width: calc(50% - 10px); margin: 0 auto; } }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } .cases .case:last-child:nth-child(odd) { grid-column: 2; width: auto; } }
.case { padding: 24px; position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.case::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--electric), var(--cyan)); opacity: 0; transition: opacity .3s; }
.case:hover { transform: translateY(-6px); border-color: rgba(31,99,224,.45); }
.case:hover::before { opacity: 1; }
.tag { display: inline-flex; border-radius: 999px; border: 1px solid rgba(31,99,224,.25); background: rgba(31,99,224,.06); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); }
.case h3 { margin-top: 16px; font-size: 18px; color: var(--navy); line-height: 1.35; }
.case dl { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 16px; font-size: 14px; }
.case dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--electric); }
.case dd { margin: 4px 0 0; color: var(--muted); }

/* Responsável */
.resp { display: grid; gap: 40px; }
@media (min-width: 1024px) { .resp { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: stretch; } }
.resp-card { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, var(--navy), var(--navy-deep)); box-shadow: var(--shadow-soft); transition: transform .3s, border-color .3s; }
.resp-card:hover { transform: translateY(-6px); border-color: rgba(47,208,240,.45); }
.resp-photo { flex: 1; min-height: 0; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); }
.resp-photo img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 1024px) { .resp-photo img { aspect-ratio: auto; } }
.resp-name { margin-top: 28px; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff; }
.resp-role { font-size: 14px; color: rgba(255,255,255,.65); }
.resp-crea, .resp-note { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; font-weight: 700; color: #fff; }
.resp-crea { padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(47,208,240,.3); background: rgba(255,255,255,.08); }
.resp-crea .ico, .resp-note .ico { width: 16px; height: 16px; color: var(--cyan); }
.resp-note { margin-top: 28px; font-weight: 400; color: rgba(255,255,255,.8); }
.resp-note .ico { width: 20px; height: 20px; }

/* Diferenciais */
.difs { margin-top: 48px; display: grid; gap: 32px 40px; }
@media (min-width: 640px) { .difs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .difs { grid-template-columns: repeat(3, 1fr); } }
.dif { display: flex; gap: 16px; padding-left: 20px; border-left: 1px solid var(--border); transition: border-color .3s; }
.dif:hover { border-color: rgba(31,99,224,.6); }
.dif > .ico { margin-top: 2px; color: var(--electric); transition: transform .3s; }
.dif:hover > .ico { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(31,99,224,.85)); }
.dif h3 { font-size: 16px; color: var(--navy); }
.dif p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* CTA */
.cta { background-color: var(--navy); }
.cta-box { max-width: 768px; border-left: 2px solid rgba(47,208,240,.65); padding-left: 20px; transition: all .3s; }
.cta-box:hover { border-color: var(--cyan); padding-left: 28px; }
.cta-box h2 { margin-top: 0; max-width: 672px; }
.cta-box p { margin-top: 16px; max-width: 672px; color: rgba(255,255,255,.8); }
@media (min-width: 640px) { .cta-box { padding-left: 32px; } .cta-box:hover { padding-left: 40px; } }

/* Contato */
.contato { background: var(--surface); }
.planta { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
@media (min-width: 768px) { .planta { background-attachment: fixed; } }
.planta-ov { position: absolute; inset: 0; z-index: -1; background: rgba(245,247,250,.7); }
.contato-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contato-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.contato-grid > div > p.muted { margin-top: 16px; }
.contact-cards { margin-top: 32px; display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 12px; padding: 16px 20px; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: rgba(31,99,224,.4); transform: translateY(-2px); }
.contact-card > .ico { color: var(--electric); }
.contact-card strong { display: block; font-size: 14px; color: var(--navy); }
.contact-card small { display: block; font-size: 12px; color: var(--muted); }
.form-card { padding: 24px; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
#quoteForm { display: grid; gap: 16px; }
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: block; }
.field > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: rgba(27,45,92,.7); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; background: #fff; padding: 10px 14px; font: inherit; font-size: 14px; color: var(--navy); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(31,99,224,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
em[data-err], .err { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--danger); margin-top: 4px; }
em[data-err]:empty, .err:empty { display: none; }
.dropzone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 1px dashed var(--border); border-radius: 6px; background: #fff; transition: all .2s; }
.dropzone.dragging { border-color: var(--electric); background: rgba(31,99,224,.05); }
.dropzone > .ico { width: 16px; height: 16px; color: var(--muted); }
.dropzone p { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.attach { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 12px; font-weight: 600; color: var(--navy); cursor: pointer; }
.attach:hover, .attach:focus-within { border-color: rgba(31,99,224,.4); color: var(--electric); }
.attach .ico { width: 16px; height: 16px; }
.files { margin-top: 12px; display: grid; gap: 8px; }
.files:empty { display: none; }
.files li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.files li > .ico { width: 16px; height: 16px; color: var(--electric); }
.files .meta { flex: 1; min-width: 0; }
.files .meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--navy); }
.files .meta small { font-size: 12px; color: var(--muted); }
.files button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--muted); }
.files button:hover { background: rgba(211,58,58,.1); color: var(--danger); }
.files button .ico { width: 16px; height: 16px; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 12px; color: var(--muted); }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--electric); flex-shrink: 0; }
.form-status { font-size: 13px; font-weight: 600; color: var(--danger); }
.form-status:empty { display: none; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0; }
.success h3 { font-size: 24px; font-weight: 800; color: var(--navy); }
.success .row { display: flex; flex-wrap: wrap; gap: 12px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.footer { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; }
.footer-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 800; }
@media (min-width: 640px) { .footer-brand { font-size: 20px; } }
.footer-logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 4px 14px -4px rgba(0,0,0,.45); }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-desc { margin-top: 20px; max-width: 384px; font-size: 14px; color: rgba(255,255,255,.65); }
.footer-title { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.footer-list { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.footer-list a { transition: color .2s; }
.footer-list a:hover { color: var(--cyan); }
.footer-list address { font-style: normal; }
.footer-list address a { display: inline-block; }
.footer-list address span { display: block; }
.btn-footer-wa { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(47,208,240,.4); background: rgba(255,255,255,.08); font-size: 14px; font-weight: 700; transition: all .2s; }
.btn-footer-wa:hover { border-color: var(--cyan); box-shadow: 0 0 24px -8px var(--cyan); }
.btn-footer-wa .ico { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom a { font-weight: 600; color: rgba(255,255,255,.75); transition: all .2s; }
.footer-bottom a:hover { color: var(--cyan); text-decoration: underline; text-shadow: 0 0 14px var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* WhatsApp */
.wa { position: fixed; right: 20px; bottom: 40px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; }
@media (min-width: 640px) { .wa { right: 32px; bottom: 32px; } }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); overflow: hidden; transition: background .3s, gap .3s; gap: 0; }
.wa-btn .ico { width: 24px; height: 24px; }
.wa-btn span { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .3s, opacity .3s; }
.wa-btn:hover, .wa-btn:focus-visible { background: var(--wa-hover); gap: 8px; }
.wa-btn:hover span, .wa-btn:focus-visible span { max-width: 16rem; opacity: 1; }
.wa-chat { display: none; width: 288px; margin-bottom: 12px; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.5); opacity: 0; transform: translateY(8px); pointer-events: none; transition: all .2s; transform-origin: bottom right; }
@media (min-width: 768px) { .wa-chat { display: block; } }
.wa-chat.open { opacity: 1; transform: none; pointer-events: auto; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--wa); color: #fff; }
.wa-head strong { display: block; font-size: 14px; }
.wa-head small { display: block; font-size: 12px; opacity: .8; }
.wa-avatar { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); }
.wa-body { padding: 16px; background: #ece5dd; }
.wa-bubble { max-width: 90%; padding: 12px; border-radius: 6px; border-top-left-radius: 0; background: #fff; font-size: 14px; color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-start { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 6px; background: var(--wa); color: #fff; font-size: 14px; font-weight: 700; }
.wa-start:hover { background: var(--wa-hover); }
.wa-start .ico { width: 16px; height: 16px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
.service.reveal.visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .timeline li { opacity: 1 !important; transform: none !important; }
  .timeline-fill { transform: none !important; }
  .lazy-bg, .planta { background-attachment: scroll !important; }
}
