/* =====================================================================
   HF Comércio e Serviços: visual do site
   Base (grade, botões, menu, formulário): assets/system.css e layout.css.
   Este arquivo dá a cara da HF: azul-petróleo, ciano "gelo", faixas escuras,
   "ar frio" animado no topo, cartões com brilho e entradas ao rolar a tela.
   ===================================================================== */

:root {
  --navy: #0b2233;
  --navy-2: #0e2f45;
  --navy-3: #071a28;
  --petrol: #0b4f6c;
  --cyan: #3fd4f0;
  --cyan-2: #13a9cc;
  --teal: #0a8aa6;
  --ice: #e6f5fa;
  --card-r: 20px;
  --shadow: 0 1px 2px rgba(11, 34, 51, .06), 0 8px 24px rgba(11, 34, 51, .06);
  --shadow-hover: 0 18px 50px rgba(10, 138, 166, .22), 0 4px 12px rgba(11, 34, 51, .08);
  --sec-pad: clamp(80px, 9vw, 128px);
}

/* ---------- ritmo das seções: altura livre (o kit fixava uma tela por seção) ---------- */
main > :is(section, .section):not(.hero) { height: auto !important; min-height: 0 !important; padding: var(--sec-pad) 0 !important; display: block !important; }
main > :is(section, .section):not(.hero) > .wrap { height: auto !important; display: block; }
.hf-section { position: relative; overflow: hidden; }
.hf-tint { background: linear-gradient(180deg, var(--ice), #f3f8fb); }
.hf-dark { background: radial-gradient(1200px 600px at 85% 0%, #13405c 0%, transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); }

/* ---------- texto em degradê ---------- */
.grad { background: linear-gradient(90deg, var(--teal), #0b6fa3 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ground-inverse .grad { background-image: linear-gradient(90deg, var(--cyan), #9df0ff 50%, var(--cyan)); }
.grad { background-size: 200% auto; animation: grad-move 8s linear infinite; }
@keyframes grad-move { to { background-position: 200% center; } }

/* ---------- cabeçalhos das seções ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  font: 600 13px/1 var(--font-text); letter-spacing: .04em; color: var(--teal); background: rgba(10, 138, 166, .1); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ground-inverse .eyebrow { color: var(--cyan); background: rgba(63, 212, 240, .12); }
.hf-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.hf-head h2, .about h2, .hf-footer__cta h2 { font: var(--display-weight) clamp(32px, 3.6vw, 52px)/1.08 var(--font-display); letter-spacing: var(--display-tracking); margin: 0; }
.hf-head > p:not(.eyebrow) { margin-top: 18px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.hf-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- cabeçalho fixo: escuro, com o floco em ciano ---------- */
/* cor sólida, sem desfoque: backdrop-filter prende o menu do celular (position: fixed) dentro da faixa do cabeçalho */
.nav.ground-inverse { background: var(--navy); border-bottom-color: rgba(255, 255, 255, .08); }
.nav.ground-inverse.is-open .nav__links { background: var(--navy); }
.nav.ground-inverse.is-open .nav__actions { background: var(--navy); }
/* com o selo da Netlify no canto, o botão do menu aberto sobe para não ficar coberto */
body:has(#nl-badge-frame) .nav.is-open .nav__actions { padding-bottom: 80px; }
.nav__logo { gap: 10px; font-weight: 600; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--cyan), var(--teal)); box-shadow: 0 4px 14px rgba(63, 212, 240, .35); flex: none; }
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: #062030; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.nav__logo:hover .logo-mark svg { transform: rotate(60deg); }
.nav .nav__link { position: relative; }
.nav .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav .nav__link:hover::after { transform: scaleX(1); }

/* ---------- botões ---------- */
.btn { transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn--glow { position: relative; overflow: hidden; box-shadow: 0 8px 26px rgba(63, 212, 240, .35); }
.btn--glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--glow:hover::after { transform: translateX(120%); }
.btn--glow:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(63, 212, 240, .45); }
.ground-base .btn--glow, main > section:not(.ground-inverse) .btn--glow { box-shadow: 0 8px 26px rgba(11, 34, 51, .22); }

/* ---------- INÍCIO ---------- */
.hf-hero { position: relative; overflow: hidden; color: var(--ink);
  background: radial-gradient(900px 600px at 15% 110%, #0f4766 0%, transparent 60%), linear-gradient(160deg, #0b2233 0%, #0b2a40 55%, #0a3550 100%); }
.hf-hero .wrap { position: relative; z-index: 1; }
.hf-hero h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.hf-hero .hero__lead { color: var(--muted); }
.hf-hero .hero__kicker { color: var(--cyan); font-weight: 500; }
.hf-hero .hero__kicker .dot { background: var(--cyan); box-shadow: 0 0 0 0 rgba(63, 212, 240, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 212, 240, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(63, 212, 240, 0); } }

/* o "ar frio": três manchas de luz que circulam devagar */
.air { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.air span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.air__a { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: radial-gradient(circle, rgba(63, 212, 240, .55), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.air__b { width: 40vw; height: 40vw; right: -8vw; top: 10vh; background: radial-gradient(circle, rgba(19, 95, 200, .55), transparent 65%); animation: drift-b 26s ease-in-out infinite alternate; }
.air__c { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(126, 232, 250, .4), transparent 65%); animation: drift-c 30s ease-in-out infinite alternate; }
.air--soft span { opacity: .3; }
@keyframes drift-a { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vw, 22vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-12vw, -18vh) scale(1.2); } }

/* selos de confiança no topo */
.trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.trust li:hover { background: rgba(63, 212, 240, .1); border-color: rgba(63, 212, 240, .4); transform: translateY(-3px); }
.trust__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--teal)); }
.trust__icon svg { width: 20px; height: 20px; fill: none; stroke: #062030; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; font: 600 15px/1.25 var(--font-text); color: #fff; }
.trust small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--muted); }
@media (min-width: 1024px) {
  .trust li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; }
}
@media (max-width: 1023px) and (min-width: 640px) { .trust { grid-template-columns: 1fr; max-width: 420px; } }
@media (max-width: 639px) { .trust { grid-template-columns: 1fr; margin-top: 28px; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stats > div { display: grid; gap: 4px; justify-content: start; justify-items: start; text-align: left; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font: 700 clamp(28px, 2.6vw, 40px)/1 var(--font-display); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }

.hf-hero .hero__media { box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(63, 212, 240, .25); }
.hf-hero .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(11, 34, 51, .55)); pointer-events: none; }
.float-card { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font: 600 16px/1.3 var(--font-text); }
.float-card small { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3d5567; margin-top: 2px; }
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--teal)); }
.float-card__icon svg { width: 24px; height: 24px; fill: none; stroke: #062030; stroke-width: 2; stroke-linecap: round; animation: spin 14s linear infinite; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: ping-g 2s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- faixa animada ---------- */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--cyan), #74e3f7 50%, var(--cyan)); color: var(--navy); border-block: 1px solid rgba(11, 34, 51, .1); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font: 600 clamp(16px, 1.4vw, 20px)/1 var(--font-display); white-space: nowrap; letter-spacing: -0.01em; }
.marquee span::after { content: "✻"; font-size: .9em; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SERVIÇOS ---------- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; overflow: hidden; display: grid; align-content: start; gap: 10px; padding: 30px 28px 28px; border-radius: var(--card-r);
  background: #fff; border: 1px solid rgba(11, 34, 51, .08); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 212, 240, .18), transparent 70%); opacity: 0; transition: opacity .45s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(10, 138, 166, .3); }
.svc:hover::before { transform: scaleX(1); }
.svc:hover::after { opacity: 1; }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--petrol)); box-shadow: 0 8px 20px rgba(11, 79, 108, .25); transition: transform .45s var(--ease), background .45s; }
.svc__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.svc:hover .svc__icon svg { stroke: #fff; }
.svc h3 { font: 600 21px/1.25 var(--font-display); letter-spacing: -0.015em; margin: 0; }
.svc p { margin: 0; color: #2c4556; line-height: 1.6; }
.svc__tag { justify-self: start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--teal); background: rgba(10, 138, 166, .09); }

.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.equip__card { position: relative; overflow: hidden; height: clamp(300px, 30vw, 400px); border-radius: var(--card-r); background: var(--navy); box-shadow: var(--shadow); }
.equip__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.equip__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 26, 40, .92)); }
.equip__body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: #fff; transition: transform .5s var(--ease); }
.equip__body h3 { font: 600 22px/1.2 var(--font-display); margin: 0 0 6px; }
.equip__body p { margin: 0; color: #c6dbe6; }
.equip__card:hover img { transform: scale(1.07); }
.equip__card:hover .equip__body { transform: translateY(-6px); }

/* ---------- COMO ATENDEMOS ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; display: grid; align-content: start; gap: 10px; padding: 0 0 28px; border-radius: var(--card-r); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-6px); border-color: rgba(63, 212, 240, .45); }
.step__img { position: relative; height: 210px; overflow: hidden; margin-bottom: 8px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.06); }
.step__num { margin: -40px 0 0 24px; position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  font: 700 20px/1 var(--font-display); color: #062030; background: linear-gradient(135deg, var(--cyan), #9df0ff); box-shadow: 0 10px 24px rgba(63, 212, 240, .35); }
.step h3 { margin: 8px 24px 0; font: 600 21px/1.25 var(--font-display); }
.step p { margin: 0 24px; color: var(--muted); line-height: 1.6; }

/* ---------- EMPRESA ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about h2 { margin-bottom: 28px; }
.about-statement { font: 500 clamp(22px, 1.9vw, 30px)/1.4 var(--font-display); letter-spacing: -0.015em; margin: 0 0 40px; max-width: 34ch; }
.about-statement strong { font-weight: inherit; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-col { padding-top: 20px; border-top: 2px solid rgba(10, 138, 166, .25); }
.about-col h3 { font: 600 18px/1.3 var(--font-text); margin: 0 0 8px; }
.about-col p { margin: 0; line-height: 1.65; color: #2c4556; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--card-r); background: #fff; border: 1px solid rgba(11, 34, 51, .08); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.perks li:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.perks__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ice); }
.perks__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks__name { display: block; font-weight: 600; margin-bottom: 2px; }
.perks__line { display: block; color: #3d5567; }

/* ---------- PORTFÓLIO ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 999px; font: 600 14px/1 var(--font-text); color: var(--navy); background: #fff; border: 1px solid rgba(11, 34, 51, .12); transition: background .25s, color .25s, transform .2s, border-color .25s; min-height: 20px; }
.filters button:hover { transform: translateY(-2px); border-color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.works > li { display: flex; }
.works > li.is-hidden { display: none; }
.works > li.is-pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.work { all: unset; box-sizing: border-box; display: grid; width: 100%; cursor: zoom-in; border-radius: var(--card-r); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.work__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.work__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work__img img { transform: scale(1.07); }
.work__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 26, 40, .5)); opacity: 0; transition: opacity .4s; }
.work:hover .work__img::after { opacity: 1; }
.work__zoom { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.work__zoom svg { width: 22px; height: 22px; fill: none; stroke: #062030; stroke-width: 2; stroke-linecap: round; }
.work:hover .work__zoom, .work:focus-visible .work__zoom { opacity: 1; transform: none; }
.work__title { display: block; padding: 18px 20px 2px; font: 600 17px/1.3 var(--font-display); color: var(--navy); }
.work__meta { display: block; padding: 0 20px 18px; font-size: 14px; color: #3d5567; }

/* ---------- ÁREAS DE ATENDIMENTO ---------- */
.area { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.regions li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--card-r); background: #fff; border: 1px solid rgba(11, 34, 51, .08); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s; }
.regions li:hover { transform: translateX(6px); border-color: rgba(10, 138, 166, .35); }
.regions__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--teal)); }
.regions__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.regions__name { display: block; font-weight: 600; }
.regions__line { display: block; color: #3d5567; line-height: 1.55; }
.map-frame { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px rgba(11, 34, 51, .18), 0 0 0 6px #fff; }
.map-frame img, .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; border: 0; }

/* ---------- CONTATO ---------- */
.contact { display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; position: relative; z-index: 1; }
.channels { display: grid; gap: 0; margin: 0; }
.channels > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.channels dt { color: var(--muted); font-size: 14px; padding-top: 2px; }
.channels dd { margin: 0; overflow-wrap: anywhere; }
.ground-inverse .channels .link { color: var(--cyan); }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form-card .field:has(select), .form-card .field:has(textarea) { grid-column: 1 / -1; }
.form-card .field :is(input, select, textarea) { border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.form-card .field :is(input, select, textarea):focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 138, 166, .15); outline: none; }
.form-card .field select { appearance: none; padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230b2233' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px; }
.form-card .btn--primary { background: var(--navy); color: #fff; width: 100%; justify-content: center; height: 52px; }
.form-note { color: #3d5567; }

/* ---------- RODAPÉ ---------- */
.hf-footer { background: var(--navy-3); color: #d6e6ef; padding: clamp(64px, 7vw, 96px) 0 32px; }
.hf-footer a { color: inherit; }
.hf-footer a:hover { color: var(--cyan); }
.hf-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hf-footer__cta h2 { color: #fff; max-width: 18ch; }
.hf-footer .btn--primary { background: var(--cyan); color: #062030; }
.hf-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.hf-footer__brand .nav__logo { color: #fff; }
.hf-footer__brand p { margin: 16px 0 20px; max-width: 32ch; color: #a7c0cf; line-height: 1.6; }
.hf-footer .footer__col h3 { font: 600 14px/1 var(--font-text); color: #fff; margin: 0 0 16px; letter-spacing: .02em; }
.hf-footer .footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #a7c0cf; overflow-wrap: anywhere; }
.hf-footer .socials { display: flex; gap: 10px; }
.hf-footer .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.hf-footer .socials a:hover { background: var(--cyan); transform: translateY(-3px); }
.hf-footer .socials img { width: 18px; height: 18px; filter: invert(1); }
.hf-footer .socials a:hover img { filter: none; }
.hf-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #8fa9b8; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 20;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .2s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; position: relative; }
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.nav.is-open ~ .wa-float { display: none; }
/* na Netlify grátis aparece o selo "Powered by Netlify" no canto: o botão sobe para não ficar por baixo */
body:has(#nl-badge-frame) .wa-float { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px); }

/* ---------- foto ampliada ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 92vw); max-height: 92svh; overflow: visible; }
.lightbox[open] { animation: pop .35s var(--ease); }
.lightbox::backdrop { background: rgba(7, 26, 40, .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: grid; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(92svh - 120px); width: auto; height: auto; border-radius: 16px; justify-self: center; }
.lightbox figcaption { color: #f1f8fc; text-align: center; }
.lightbox__close { margin: 16px auto 0; display: flex; }

/* ---------- entradas ao rolar a tela ---------- */
html.rv-js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.rv-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .svc-grid, .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip, .steps { grid-template-columns: 1fr; }
  .equip__card { height: 280px; }
  .step__img { height: 240px; }
  .about, .area, .contact { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }
  .hf-footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card { left: 16px; bottom: 16px; }
}

/* ---------- celular ---------- */
@media (max-width: 639px) {
  .svc-grid, .works, .about-cols { grid-template-columns: 1fr; }
  .stats { gap: 10px; margin-top: 28px; padding-top: 20px; }
  .stats dt { font-size: 13px; }
  .channels > div { grid-template-columns: 1fr; gap: 4px; }
  .hf-footer__grid { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card__icon { width: 36px; height: 36px; }
  .float-card strong { font-size: 14px; }
  .wa-float { width: 54px; height: 54px; }
  .filters { width: 100%; }
}
/* celular: no cabeçalho só o logo e o menu; o botão de orçamento fica dentro do menu,
   no topo da página e no WhatsApp (com ele aqui, o menu era empurrado para fora da tela) */
@media (max-width: 639px) {
  .nav:not(.is-open) .nav__actions { display: none; }
  .nav .nav__bar .nav__toggle { margin-left: auto !important; flex: none; }
  .nav__logo { min-width: 0; }
  .nav__logo > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- quem pede menos movimento no sistema: tudo parado e visível ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .air span, html:not(.force-motion) .marquee__track, html:not(.force-motion) .grad,
  html:not(.force-motion) .float-card, html:not(.force-motion) .float-card__icon svg, html:not(.force-motion) .wa-float::before,
  html:not(.force-motion) .hero__kicker .dot, html:not(.force-motion) .live { animation: none; }
  html.rv-js:not(.force-motion) [data-reveal] { opacity: 1; transform: none; transition: none; }
}
