/* ==========================================================================
   CONCEITO — Instalação de Ar-Condicionado · Campinas/SP
   Design System — HTML/CSS/JS vanilla. Premium frost aesthetic.
   Dark & Light. Animações coerentes desktop/mobile (nada dependente de hover
   no touch). Sem emojis — apenas formas e tipografia autorais.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* superfícies (dark default) */
  --bg:        #060B14;
  --bg-2:      #0A121F;
  --bg-3:      #0F1C30;
  --surface:   rgba(15, 28, 48, .55);
  --surface-2: rgba(20, 36, 60, .62);
  --glass:     rgba(12, 22, 38, .5);

  /* gelo / marca */
  --ice:       #9BEBFF;   /* acento principal */
  --ice-deep:  #46B7E8;
  --ice-blue:  #2E7FD1;
  --frost:     #E8F6FF;
  --mint:      #7DF0DC;   /* acento secundário sutil */

  /* texto */
  --text:      #F1F8FF;
  --text-2:    #B4C6DA;
  --text-3:    #77879B;
  --line:      rgba(155, 235, 255, .10);
  --line-2:    rgba(155, 235, 255, .22);

  /* gradientes / brilhos */
  --grad-ice:   linear-gradient(135deg, var(--ice) 0%, var(--ice-deep) 55%, var(--ice-blue) 100%);
  --grad-text:  linear-gradient(120deg, #ffffff 0%, var(--ice) 55%, var(--ice-deep) 100%);
  --grad-deep:  linear-gradient(160deg, var(--bg-2), var(--bg));
  --glow:       0 0 0 1px rgba(155,235,255,.25), 0 18px 60px -22px rgba(70,183,232,.55);
  --glow-soft:  0 20px 60px -30px rgba(46,127,209,.7);

  /* tipografia */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* espaçamento */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.25rem;
  --sp-6:1.5rem; --sp-8:2rem; --sp-10:2.5rem; --sp-12:3rem; --sp-16:4rem;
  --sp-20:5rem; --sp-24:6rem; --sp-32:8rem;

  /* raios / containers */
  --r-sm:10px; --r-md:16px; --r-lg:24px; --r-xl:32px; --r-pill:999px;
  --shadow-card: 0 24px 60px -28px rgba(0,0,0,.75);
  --maxw: 1280px;
  --header-h: 78px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast:.25s var(--ease);
  --t-med:.5s var(--ease);
  --t-slow:.9s var(--ease-out);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg:        #EAF3FB;
  --bg-2:      #F3F9FE;
  --bg-3:      #FFFFFF;
  --surface:   rgba(255, 255, 255, .72);
  --surface-2: rgba(255, 255, 255, .85);
  --glass:     rgba(255, 255, 255, .6);

  --ice:       #1E86C7;
  --ice-deep:  #1668B0;
  --ice-blue:  #0E4C93;
  --frost:     #0B2942;
  --mint:      #17A38C;

  --text:      #0B1E33;
  --text-2:    #37536E;
  --text-3:    #6B8199;
  --line:      rgba(14, 76, 147, .12);
  --line-2:    rgba(14, 76, 147, .22);

  --grad-text: linear-gradient(120deg, #0B2942 0%, var(--ice) 60%, var(--ice-blue) 100%);
  --glow:      0 0 0 1px rgba(30,134,199,.18), 0 22px 60px -26px rgba(14,76,147,.35);
  --glow-soft: 0 22px 55px -30px rgba(14,76,147,.4);
  --shadow-card: 0 26px 60px -34px rgba(11,42,66,.4);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .6s var(--ease), color .6s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select { font: inherit; color: inherit; }
::selection { background: var(--ice); color: #04121f; }

h1,h2,h3,h4 { font-family: var(--font-head); color: var(--text); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

/* gradiente de fundo global suave + neve por cima */
body::before {
  content:""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(46,127,209,.22), transparent 55%),
    radial-gradient(90% 80% at 10% 110%, rgba(125,240,220,.10), transparent 55%),
    var(--grad-deep);
  transition: opacity .6s var(--ease);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(30,134,199,.16), transparent 55%),
    radial-gradient(90% 80% at 5% 110%, rgba(23,163,140,.10), transparent 55%),
    linear-gradient(160deg, #f4faff, #e7f1fb);
}

/* campo de neve — canvas fixo atrás de tudo */
#snow-field {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
}

/* ---------- Utilidades de reveal (scroll, não toque) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Botões ---------- */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: var(--bh); padding: 0 1.6rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { color: #041320; background: var(--grad-ice); box-shadow: var(--glow); }
.btn-primary::before {
  content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #ffffff, var(--ice));
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow), 0 20px 50px -18px rgba(70,183,232,.7); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--ice); color: var(--ice); }
.btn-lg { --bh: 62px; padding: 0 2rem; font-size: 1.05rem; }

/* brilho que percorre o botão primário (autônomo, não depende de hover) */
.btn-primary::after {
  content:""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: sheen 5.5s var(--ease) infinite;
}
@keyframes sheen { 0%,100%{ left:-60%; } 55%,100%{ left:130%; } }

/* ---------- Eyebrow / títulos de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--ice);
}
.eyebrow::before {
  content:""; width: 26px; height: 1px; background: var(--grad-ice);
  box-shadow: 0 0 10px var(--ice);
}
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: var(--sp-4); }
.section-lead { color: var(--text-2); max-width: 54ch; margin-top: var(--sp-4); font-size: 1.08rem; }

.section { padding-block: clamp(2.8rem, 6vw, 5rem); position: relative; }

/* texto com gradiente */
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ======================= LOGO (floco autoral) ======================= */
.flake { color: var(--ice); overflow: visible; }
.flake .arm { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.flake .ring { fill: none; stroke: currentColor; stroke-width: 3; opacity: .5; }
.flake .core { fill: currentColor; }
.flake .halo { fill: none; stroke: currentColor; stroke-width: 2; opacity: .25; }
/* giro lento contínuo (autônomo) */
.flake .spin { transform-box: fill-box; transform-origin: center; animation: flakeSpin 44s linear infinite; }
@keyframes flakeSpin { to { transform: rotate(360deg); } }
/* brilho pulsante do núcleo */
.flake .core, .flake .ring { filter: drop-shadow(0 0 6px currentColor); }
.flake .pulse { transform-box: fill-box; transform-origin: center; animation: flakePulse 3.4s var(--ease) infinite; }
@keyframes flakePulse { 0%,100%{ opacity:.35; transform: scale(1);} 50%{ opacity:.7; transform: scale(1.14);} }

/* desenho dos braços na intro (logo grande) */
.intro-logo .arm { stroke-dasharray: 200; stroke-dashoffset: 200; animation: flakeDraw 1.5s var(--ease-out) forwards; }
.intro-logo .arm.a2 { animation-delay: .08s; } .intro-logo .arm.a3 { animation-delay: .16s; }
.intro-logo .arm.a4 { animation-delay: .24s; } .intro-logo .arm.a5 { animation-delay: .32s; }
.intro-logo .arm.a6 { animation-delay: .40s; }
.intro-logo .ring { stroke-dasharray: 420; stroke-dashoffset: 420; animation: flakeDraw 1.4s var(--ease-out) .3s forwards; }
@keyframes flakeDraw { to { stroke-dashoffset: 0; } }

/* ======================= HEADER ======================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .brand-mark { width: 38px; height: 38px; }
/* logo oficial — sigla no header, completa no rodapé; branca no dark, colorida no light */
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 92px; width: auto; display: block; }
.brand-footer { gap: 0; }
.logo-color { display: none; }
[data-theme="light"] .logo-white { display: none; }
[data-theme="light"] .logo-color { display: block; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; color: var(--text); }
.brand .brand-name b { color: var(--ice); font-weight: 700; }
.brand .brand-tag { display:block; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a { font-size: .94rem; color: var(--text-2); position: relative; padding: .3rem 0; transition: color .3s var(--ease); }
.nav a::after {
  content:""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--grad-ice); border-radius: 2px; transition: width .35s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  display: grid; place-items: center; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--text); transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.theme-toggle:hover { transform: rotate(-18deg); border-color: var(--ice); color: var(--ice); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ico-moon { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-moon { display: block; }

.header-cta { display: inline-flex; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--glass); }
.nav-toggle span { display:block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }

/* barra de progresso do scroll */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad-ice); box-shadow: 0 0 14px var(--ice); }

/* ======================= INTRO LOADER ======================= */
.intro {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(130% 100% at 50% 40%, #0b2036 0%, #060d18 55%, #03070d 100%);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
[data-theme="light"] .intro { background: radial-gradient(130% 100% at 50% 40%, #ffffff 0%, #eaf3fb 55%, #d6e6f4 100%); }
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.intro-logo { width: clamp(120px, 26vw, 180px); height: auto; }
.intro-word {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--text);
  display: flex; gap: .05em;
}
.intro-word span { display: inline-block; opacity: 0; transform: translateY(20px); animation: introChar .6s var(--ease-out) forwards; }
@keyframes introChar { to { opacity: 1; transform: none; } }
.intro-sub { font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: var(--ice); opacity: 0; animation: fadeIn .8s ease 1.1s forwards; }
@keyframes fadeIn { to { opacity: .9; } }

/* ======================= HERO ======================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .96; }
.hv-mobile { display: none; }
.hv-desktop { display: block; }
/* scrim: escurece a esquerda (onde fica o texto) e desce no rodapé; direita fica limpa p/ o vídeo */
.hero-media::after {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(95deg, var(--bg) 0%, rgba(6,11,20,.82) 34%, rgba(6,11,20,.42) 60%, transparent 86%),
    linear-gradient(0deg, var(--bg) 2%, rgba(6,11,20,.35) 16%, transparent 42%);
}
[data-theme="light"] .hero-video { opacity: 1; }
/* no light mode o texto do hero é BRANCO (#FFFFFF) sobre o vídeo — então o scrim
   do hero fica escuro (como no dark) só nessa área, p/ garantir contraste/legibilidade */
[data-theme="light"] .hero-media::after {
  background:
    linear-gradient(95deg, rgba(6,11,20,.92) 0%, rgba(6,11,20,.66) 32%, rgba(6,11,20,.28) 58%, transparent 84%),
    linear-gradient(0deg, var(--bg) 1%, transparent 26%);
}
[data-theme="light"] .hero h1,
[data-theme="light"] .hero .hero-lead { color: #ffffff; }
[data-theme="light"] .hero h1 .grad-text {
  background: none; -webkit-text-fill-color: #ffffff; color: #ffffff;
}
@media (max-width: 760px) {
  .hv-desktop { display: none; }
  .hv-mobile { display: block; }
  /* no mobile o texto vai pro topo, logo abaixo do header */
  .hero { align-items: flex-start; }
  .hero-media::after {
    background:
      linear-gradient(0deg, var(--bg) 6%, rgba(6,11,20,.4) 34%, transparent 66%),
      linear-gradient(180deg, var(--bg) 0%, rgba(6,11,20,.62) 20%, transparent 50%);
  }
  [data-theme="light"] .hero-media::after {
    background:
      linear-gradient(180deg, rgba(6,11,20,.9) 0%, rgba(6,11,20,.55) 24%, transparent 54%),
      linear-gradient(0deg, var(--bg) 5%, transparent 28%);
  }
}

/* Grupo de CTAs sobre o vídeo — posição refinada por JS p/ o botão sólido cobrir a marca d'água */
.hero-cta {
  position: absolute; z-index: 5; right: 5%; bottom: 13%;
  display: flex; align-items: center; gap: .8rem;
}
/* entrada suave só com transform — se a animação não rodar, continua VISÍVEL (opacity 1) */
@media (prefers-reduced-motion: no-preference) {
  .hero-cta { animation: heroCtaUp 1s var(--ease-out) both; }
}
@keyframes heroCtaUp { from { transform: translateY(24px); } to { transform: none; } }
.hero-cta .btn-ghost { background: rgba(10,18,32,.55); }
[data-theme="light"] .hero-cta .btn-ghost { background: rgba(255,255,255,.7); }
.hero-cta .t-short { display: none; }
/* MOBILE: botões lado a lado (uma linha), rótulos curtos; o sólido à direita cobre o sparkle.
   Grid 1fr 1fr + !important garante 2 colunas iguais e vence qualquer estilo inline do JS. */
@media (max-width: 760px) {
  .hero-cta {
    left: 1rem !important; right: 1rem !important; bottom: 2.4rem !important; top: auto !important;
    display: grid !important; grid-template-columns: 1fr 1fr; gap: .5rem; max-width: none;
  }
  .hero-cta .btn { min-width: 0; width: auto; --bh: 52px; font-size: .9rem; padding: 0 .5rem; gap: .35rem; }
  .hero-cta .t-full { display: none; }
  .hero-cta .t-short { display: inline; }
}

.hero-inner { position: absolute; z-index: 2; left: 6%; top: 12%; max-width: min(600px, 52%); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px);
  font-size: .8rem; color: var(--text-2); margin-bottom: 1.6rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(125,240,220,.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(125,240,220,.55);} 70%{ box-shadow: 0 0 0 12px rgba(125,240,220,0);} 100%{ box-shadow:0 0 0 0 rgba(125,240,220,0);} }

.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.02; letter-spacing: -.03em; }
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; transform: translateY(115%); animation: heroUp .9s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
/* no mobile: título em 3 linhas (fonte menor p/ cada linha caber), descrição mais compacta,
   e remoção do indicador de rolagem (conflitava com os botões) */
@media (max-width: 760px) {
  .hero-inner { left: 1.2rem; right: 1.2rem; top: calc(var(--header-h) + .2rem); max-width: none; }
  .hero h1 { font-size: clamp(1.55rem, 6.4vw, 2.05rem); line-height: 1.08; }
  .hero h1 .line { white-space: normal; overflow: visible; }
  .hero h1 .line > span { transform: none; animation: none; }
  .hero p.hero-lead { font-size: .88rem; line-height: 1.45; margin-top: 1rem; }
  .hero-scroll { display: none; }
}
@keyframes heroUp { to { transform: none; } }
.hero p.hero-lead { margin-top: 1.6rem; font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--text-2); max-width: 52ch; opacity: 0; animation: fadeUp .9s var(--ease-out) .5s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; opacity: 0; animation: fadeUp .9s var(--ease-out) .66s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: none; } }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3rem); margin-top: 3rem; opacity: 0; animation: fadeUp .9s var(--ease-out) .82s forwards; }
.hero-stats .stat b { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--text); display: block; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .82rem; color: var(--text-3); letter-spacing: .04em; }

.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; display: grid; place-items: center; gap: .5rem; opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content:""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; background: var(--ice); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0; transform: translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%,12px);} 100%{opacity:0;} }
.hero-scroll span { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); }

/* ======================= SERVIÇOS (rail horizontal) ======================= */
.rail-section { position: relative; }
/* menos espaço entre o título "O que fazemos" e os cards */
.rail-head { position: relative; z-index: 3; padding-bottom: clamp(.5rem, 1.6vw, 1.4rem); }
.rail-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.rail-track { display: flex; gap: clamp(1.4rem, 3vw, 2.4rem); padding-inline: clamp(1.1rem, 6vw, 6rem); will-change: transform; }
.rail-progress-wrap { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 4; display: flex; justify-content: center; }
.rail-progress { width: min(360px, 62vw); height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 0; background: var(--grad-ice); box-shadow: 0 0 12px var(--ice); }

.svc-card {
  position: relative; flex: 0 0 min(78vw, 420px); height: min(66vh, 560px);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.svc-card .svc-img { position: absolute; inset: 0; z-index: 0; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.svc-card .svc-img::after { content:""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,10,18,.94) 6%, rgba(4,10,18,.45) 45%, rgba(4,10,18,.15) 100%); }
[data-theme="light"] .svc-card .svc-img::after { background: linear-gradient(0deg, rgba(3,25,45,.92) 4%, rgba(6,40,70,.4) 46%, transparent 100%); }
.svc-card.active .svc-img img { transform: scale(1.06); }
.svc-body { position: relative; z-index: 2; padding: clamp(1.4rem, 3vw, 2.2rem); }
.svc-index { font-family: var(--font-head); font-size: .8rem; letter-spacing: .3em; color: var(--ice); }
.svc-card h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: .6rem 0; }
.svc-card p { color: rgba(232,246,255,.82); font-size: .96rem; max-width: 42ch; }
.svc-card .svc-tag { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; padding: .35rem .8rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }

/* dica de arrastar (mobile) */
.rail-hint { display: none; }

/* modo mobile: scroller horizontal nativo com snap */
.rail-section.rail-native { height: auto !important; }
.rail-section.rail-native .rail-sticky { position: static; height: auto; padding-block: 0 2rem; }
.rail-section.rail-native .rail-track {
  transform: none !important; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-inline: clamp(1.1rem, 6vw, 2rem); scrollbar-width: none;
}
.rail-section.rail-native .rail-track::-webkit-scrollbar { display: none; }
.rail-section.rail-native .svc-card { scroll-snap-align: center; flex-basis: min(82vw, 360px); height: min(70vh, 480px); }

/* ======================= DIFERENCIAIS ======================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.feature {
  position: relative; padding: 2.1rem 1.8rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(10px);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
/* brilho radial suave */
.feature::before {
  content:""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
  background: radial-gradient(130% 110% at 12% 0%, rgba(155,235,255,.14), transparent 58%);
}
/* linha de acento no topo, revelada no hover */
.feature::after {
  content:""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad-ice); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease); border-radius: 3px 3px 0 0;
}
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--glow-soft); }
.feature:hover::before { opacity: 1; }
.feature:hover::after { transform: scaleX(1); }

/* badge do ícone */
.feature .f-ico {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 1.4rem; color: var(--ice);
  background: linear-gradient(150deg, rgba(155,235,255,.18), rgba(46,127,209,.08));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
}
[data-theme="light"] .feature .f-ico { background: linear-gradient(150deg, rgba(30,134,199,.14), rgba(30,134,199,.05)); }
.feature .f-ico svg { width: 28px; height: 28px; }
.feature:hover .f-ico { transform: translateY(-2px) scale(1.06); box-shadow: 0 12px 28px -12px rgba(70,183,232,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.feature .f-body { position: relative; z-index: 1; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.feature p { font-size: .95rem; color: var(--text-2); line-height: 1.6; }

/* dica de arrastar — só aparece no mobile */
.feature-hint { display: none; }

/* tablet: 2 colunas */
@media (max-width: 1024px) and (min-width: 761px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
/* mobile: rolagem horizontal com snap (swipe) */
@media (max-width: 760px) {
  .feature-grid {
    display: flex; grid-template-columns: none; gap: 1rem; margin-top: 2rem;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(1.1rem, 4vw, 2.5rem));
    padding-inline: clamp(1.1rem, 4vw, 2.5rem); padding-bottom: .4rem;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 min(80%, 300px); scroll-snap-align: center; }
  .feature-hint {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
    font-size: .82rem; color: var(--text-3); letter-spacing: .02em;
  }
  .feature-hint svg { width: 18px; height: 18px; color: var(--ice); animation: hintSwipe 2.2s var(--ease) infinite; }
}

/* ======================= CALCULADORA BTU (card único + flip) ======================= */
.calc { max-width: 600px; margin: 2.6rem auto 0; perspective: 1800px; }
.calc-card { position: relative; width: 100%; min-height: 460px; transform-style: preserve-3d; transition: transform 1s var(--ease-out); }
.calc-card.flipped { transform: rotateY(180deg); }
.calc-face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface-2);
  backdrop-filter: blur(16px); box-shadow: var(--glow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem); display: flex; flex-direction: column;
}
.calc-back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; gap: .9rem; }

/* topo: etapa + barra de progresso */
.calc-top { margin-bottom: 1.5rem; text-align: center; }
.calc-step-label { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.calc-bar { margin-top: .6rem; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.calc-bar i { display: block; height: 100%; width: 25%; background: var(--grad-ice); box-shadow: 0 0 10px var(--ice); border-radius: 5px; transition: width .5s var(--ease); }

/* etapas */
.calc-steps { position: relative; flex: 1 1 auto; min-height: 230px; }
.calc-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; opacity: 0; transform: translateX(30px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.calc-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.calc-q { font-size: clamp(1.15rem, 2.6vw, 1.5rem); margin-bottom: .5rem; line-height: 1.2; }
.calc-help { font-size: .9rem; color: var(--text-3); margin-bottom: 1.6rem; }

/* slider de área */
.calc-area-val { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 8vw, 3.4rem); color: var(--text); letter-spacing: -.03em; margin-bottom: 1.1rem; }
.calc-area-val b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-area-val span { font-size: .4em; color: var(--text-3); font-weight: 600; letter-spacing: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: var(--line-2); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-ice); box-shadow: 0 0 0 5px rgba(155,235,255,.16), 0 6px 16px -4px rgba(70,183,232,.7); cursor: pointer; transition: transform .2s var(--ease); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.16); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: none; border-radius: 50%; background: var(--ice); cursor: pointer; }
.calc-range-scale { display: flex; justify-content: space-between; width: 100%; margin-top: .6rem; font-size: .75rem; color: var(--text-3); }
.calc-step input[type="range"] { width: 100%; }

/* stepper — botões circulares + número grande no centro */
.stepper { display: inline-flex; align-items: center; gap: 1rem; }
.stepper button {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--text); flex: none;
  transition: transform .25s var(--ease), border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.stepper button svg { width: 22px; height: 22px; display: block; }
.stepper button:hover { border-color: var(--ice); color: var(--ice); background: var(--surface-2); transform: translateY(-1px); }
.stepper button:active { transform: scale(.94); }
.stepper .num {
  min-width: 68px; text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: 2.4rem; line-height: 1; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}

/* opções de sol */
.calc-options { display: flex; flex-direction: column; gap: .7rem; width: 100%; }
.calc-opt { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1rem 1.15rem; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); font-size: .98rem; text-align: center; transition: transform .25s var(--ease), border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.calc-opt svg { width: 24px; height: 24px; color: var(--ice); flex: none; transition: color .3s var(--ease); }
.calc-opt:hover { border-color: var(--ice); color: var(--text); transform: translateY(-2px); }
.calc-opt[aria-pressed="true"] { border-color: transparent; background: var(--grad-ice); color: #04121f; font-weight: 600; }
.calc-opt[aria-pressed="true"] svg { color: #04121f; }

/* navegação — setinha (voltar) + botão pequeno (continuar/gerar) à direita */
.calc-nav { display: flex; align-items: center; margin-top: 1.5rem; }
.calc-arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); flex: none; transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.calc-arrow svg { width: 20px; height: 20px; }
.calc-arrow:hover { border-color: var(--ice); color: var(--ice); transform: translateX(-2px); }
.calc-arrow[hidden] { display: none; }
.calc-go { margin-left: auto; height: 46px; padding: 0 1.35rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .94rem; display: inline-flex; align-items: center; gap: .45rem; color: #041320; background: var(--grad-ice); box-shadow: var(--glow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); white-space: nowrap; }
.calc-go svg { width: 17px; height: 17px; }
.calc-go:hover { transform: translateY(-2px); box-shadow: var(--glow), 0 14px 32px -14px rgba(70,183,232,.7); }
.calc-go[hidden] { display: none; }
/* botões do resultado */
.calc-btn { height: 50px; padding: 0 1.3rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .94rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); white-space: nowrap; }
.calc-btn.ghost { border: 1px solid var(--line-2); background: var(--glass); color: var(--text); }
.calc-btn.ghost:hover { border-color: var(--ice); color: var(--ice); }
.calc-btn.solid { color: #041320; background: var(--grad-ice); box-shadow: var(--glow); flex: 1; }
.calc-btn.solid:hover { transform: translateY(-2px); }

/* verso: gauge redondo */
.calc-result-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ice); }
.calc-gauge { position: relative; width: min(184px, 52%); }
.calc-gauge svg { width: 100%; height: auto; overflow: visible; }
.calc-gauge .g-track { stroke: var(--line-2); }
.calc-gauge .g-arc { transition: stroke-dashoffset .1s linear; filter: drop-shadow(0 4px 14px rgba(70,183,232,.45)); }
.calc-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.calc-gauge-center b { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.55rem, 4.6vw, 1.95rem); color: var(--text); line-height: 1; letter-spacing: -.02em; }
.calc-gauge-center small { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ice); margin-top: .3rem; }
.calc-reco { font-size: .96rem; color: var(--text-2); max-width: 30ch; line-height: 1.45; }
.calc-reco b { color: var(--text); }
.calc-note { font-size: .74rem; color: var(--text-3); max-width: 32ch; line-height: 1.4; }
.calc-result-actions { display: flex; gap: .6rem; margin-top: .2rem; width: 100%; max-width: 340px; }

@media (max-width: 560px) {
  .calc-card { min-height: 520px; }
}

/* ======================= MARCAS ======================= */
.marquee { position: relative; overflow: hidden; margin-top: 3rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--text-3); white-space: nowrap; transition: color .3s var(--ease); letter-spacing: .02em; }
.marquee-track span:hover { color: var(--ice); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ======================= COMO FUNCIONA (linha do tempo) ======================= */
.timeline {
  position: relative; margin-top: 3.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  /* buracos da máscara exatamente sobre cada nó → UMA linha só, com vão nas bolinhas */
  --tl-holes:
    radial-gradient(circle 44px at 0% 50%, transparent 95%, #000 100%),
    radial-gradient(circle 44px at 33.333% 50%, transparent 95%, #000 100%),
    radial-gradient(circle 44px at 66.667% 50%, transparent 95%, #000 100%),
    radial-gradient(circle 44px at 100% 50%, transparent 95%, #000 100%);
}
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* UMA única linha ligando todos os nós (a máscara abre o vão em cada bolinha) */
.timeline::before, .timeline::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 12.5%; right: 12.5%;
  -webkit-mask: var(--tl-holes); mask: var(--tl-holes);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.timeline::before { top: 34px; height: 2px; background: var(--line-2); opacity: .5; }
.timeline::after {
  top: 32.5px; height: 5px; border-radius: 5px;
  background: linear-gradient(90deg, transparent, var(--ice) 50%, transparent);
  background-size: 20% 100%; background-repeat: no-repeat; background-position: -24% 0;
  filter: drop-shadow(0 0 6px var(--ice)); animation: tlFlow 5s linear infinite;
}
@keyframes tlFlow { 0% { background-position: -24% 0; } 100% { background-position: 124% 0; } }
.tl-node {
  position: relative; z-index: 2; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.5rem;
  background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 7px var(--bg), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
[data-theme="light"] .tl-node { box-shadow: 0 0 0 7px var(--bg), 0 8px 24px -12px rgba(14,76,147,.4), inset 0 1px 0 rgba(255,255,255,.6); }
.tl-node span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* anel tecnológico girando ao redor do nó */
.tl-node::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--ice) 84%, var(--ice-deep) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tlSpin 5s linear infinite;
}
@keyframes tlSpin { to { transform: rotate(360deg); } }
/* segundo anel, pulso suave */
.tl-node::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--line-2);
  animation: tlPulse 3s var(--ease) infinite;
}
@keyframes tlPulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.12); opacity: 0; } }

.tl-step:hover .tl-node { transform: translateY(-4px); box-shadow: 0 0 0 7px var(--bg), 0 14px 34px -14px rgba(70,183,232,.7), inset 0 1px 0 rgba(255,255,255,.1); }
.tl-body h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.tl-body p { font-size: .93rem; color: var(--text-2); max-width: 26ch; margin-inline: auto; line-height: 1.55; }

/* mobile: linha do tempo VERTICAL (uma linha só, alturas iguais → vão nos nós) */
@media (max-width: 760px) {
  .timeline {
    grid-template-columns: 1fr; gap: 0; margin-top: 2.4rem;
    --tl-holes:
      radial-gradient(circle 44px at 50% 0%, transparent 95%, #000 100%),
      radial-gradient(circle 44px at 50% 33.333%, transparent 95%, #000 100%),
      radial-gradient(circle 44px at 50% 66.667%, transparent 95%, #000 100%),
      radial-gradient(circle 44px at 50% 100%, transparent 95%, #000 100%);
  }
  .tl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 1.2rem; min-height: 122px; padding-bottom: 0; }
  .tl-node { width: 68px; height: 68px; margin-bottom: 0; flex: none; }
  .tl-body { padding-top: .5rem; }
  .tl-body p { max-width: none; margin-inline: 0; }
  /* a linha única passa a ser vertical */
  .timeline::before, .timeline::after { left: 33px; right: auto; top: 34px; bottom: calc(122px - 34px); width: auto; }
  .timeline::before { height: auto; width: 2px; }
  .timeline::after {
    height: auto; width: 5px; left: 31.5px;
    background: linear-gradient(180deg, transparent, var(--ice) 50%, transparent);
    background-size: 100% 20%; background-position: 0 -24%;
    animation: tlFlowV 5s linear infinite;
  }
  @keyframes tlFlowV { 0% { background-position: 0 -24%; } 100% { background-position: 0 124%; } }
  @keyframes tlFlowV { 0% { background-position: 0 -42%; } 100% { background-position: 0 142%; } }
}

/* ======================= ÁREA DE ATUAÇÃO ======================= */
.area-wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.8rem, 4vw, 3.4rem); margin-top: 3rem; }
.area-head { grid-column: 1; grid-row: 1; align-self: end; }
.area-desc { grid-column: 1; grid-row: 2; align-self: start; margin-top: 1.1rem; max-width: 46ch; }
.area-map  { grid-column: 2; grid-row: 1 / 3; align-self: center; }
/* mobile: uma coluna, ordem do DOM → título → MAPA → descrição, com respiro */
@media (max-width: 960px) {
  .area-wrap { row-gap: 1.7rem; }
  .area-head, .area-desc, .area-map { grid-column: 1; grid-row: auto; align-self: auto; }
  .area-desc { margin-top: 0; max-width: none; }
}

/* mapa real (Google) — fixo/não interativo, com filtro p/ combinar com o tema */
.area-map {
  position: relative; aspect-ratio: 500 / 460; border-radius: var(--r-xl);
  border: 1px solid var(--line-2); overflow: hidden; background: var(--bg-2);
  box-shadow: var(--glow-soft);
}
.area-map-frame {
  width: 100%; height: 100%; border: 0; display: block; pointer-events: none;
  filter: invert(.92) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(1.1);
}
[data-theme="light"] .area-map-frame { filter: contrast(1.02) saturate(1.05); }
/* tint de gelo bem sutil p/ integrar */
.area-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 70px -18px rgba(70,183,232,.35);
  background: linear-gradient(180deg, rgba(6,11,20,.12), transparent 30%);
}
[data-theme="light"] .area-map::after { box-shadow: inset 0 0 70px -22px rgba(30,134,199,.25); background: none; }
.area-map-pin {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem;
  border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--text);
}
.area-map-pin svg { width: 16px; height: 16px; color: var(--ice); }

/* ======================= CONTATO ======================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.contact-intro { padding-top: .3rem; }
.contact-intro .section-title { margin-top: var(--sp-4); }
.contact-intro .section-lead { margin-top: var(--sp-4); }
.contact-form {
  position: relative; width: 100%; padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: var(--surface-2); backdrop-filter: blur(16px);
  box-shadow: var(--glow-soft); overflow: hidden;
}
/* acento no topo do card */
.contact-form::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-ice); opacity: .9; }
@media (max-width: 960px) { .contact-intro { text-align: center; } }
.field { position: relative; margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .01em; color: var(--text-2); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .95rem 1.1rem; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: var(--glass); color: var(--text); font-size: .98rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-2); background: var(--surface); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ice); background: var(--surface); box-shadow: 0 0 0 4px rgba(155,235,255,.14); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
/* select customizado */
.select-wrap { position: relative; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem; }
.select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ice); pointer-events: none; }
.contact-form .btn-primary { margin-top: .4rem; }

/* ======================= FOOTER ======================= */
.site-footer { position: relative; border-top: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); padding-block: 3.4rem 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.footer-grid a { display: block; color: var(--text-2); font-size: .95rem; padding: .3rem 0; transition: color .3s var(--ease); }
.footer-grid a:hover { color: var(--ice); }
.footer-brand p { color: var(--text-2); font-size: .95rem; max-width: 38ch; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-3); }
.montle-sign { display: inline-flex; align-items: center; gap: .55rem; color: var(--text-3); transition: opacity .3s var(--ease); }
.montle-sign:hover { opacity: .8; }
.montle-sign .montle-logo { height: 36px; width: auto; display: block; }

/* ======================= FAB floco de neve (contatos) ======================= */
.fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 95; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.fab-actions { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fab-action {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ice); backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -12px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(24px) scale(.4); pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .35s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.fab-action svg { width: 24px; height: 24px; }
.fab-action.wa { color: #25D366; }
.fab-action:hover { color: var(--text); border-color: var(--ice); transform: translateY(-2px) scale(1.06); }
.fab-action.wa:hover { color: #25D366; }
/* rótulo ao lado */
.fab-action::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  padding: .35rem .7rem; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line);
  font-size: .78rem; color: var(--text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.fab-action:hover::after { opacity: 1; }

/* ao abrir: os ícones "sobem/cospem" com stagger */
.fab.open .fab-action { opacity: 1; transform: none; pointer-events: auto; }
.fab.open .fab-action:nth-child(4) { transition-delay: .04s; }
.fab.open .fab-action:nth-child(3) { transition-delay: .10s; }
.fab.open .fab-action:nth-child(2) { transition-delay: .16s; }
.fab.open .fab-action:nth-child(1) { transition-delay: .22s; }

.fab-btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #57C4F0 0%, #2E7FD1 52%, #1E5FA8 100%);
  color: #ffffff; border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 12px 34px -10px rgba(46,127,209,.75), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -3px 8px rgba(0,30,70,.25);
  transition: transform .6s var(--ease-out), box-shadow .4s var(--ease), filter .4s var(--ease);
}
.fab-btn .flake { width: 42px; height: 42px; filter: drop-shadow(0 1px 3px rgba(0,35,75,.5)); }
.fab-btn .flake .arm { stroke-width: 5.5; }
.fab-btn .flake .core { fill: #fff; }
.fab-btn:hover { transform: scale(1.06); filter: brightness(1.05); box-shadow: 0 16px 40px -10px rgba(46,127,209,.85), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 8px rgba(0,30,70,.25); }
/* a "leve girada" ao abrir/fechar */
.fab.open .fab-btn { transform: rotate(135deg); }

/* ======================= RESPONSIVO ======================= */
@media (min-width: 900px) {
  .step:not(:last-child)::after { display: block; }
}
@media (max-width: 960px) {
  .calc-wrap, .area-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem 1.4rem 1.6rem;
    gap: .2rem; transform: translateY(-140%); transition: transform .45s var(--ease); z-index: 99;
  }
  .nav.open { transform: none; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .rail-hint { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-size: .82rem; color: var(--text-3); letter-spacing: .04em; }
  .rail-hint svg { width: 18px; height: 18px; color: var(--ice); animation: hintSwipe 2.2s var(--ease) infinite; }
  @keyframes hintSwipe { 0%,100%{ transform: translateX(0);} 50%{ transform: translateX(8px);} }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem 2rem; }
}
