/* ============================================================
   MW REFRIGERAÇÃO — STYLESHEET
   Paleta: azul profundo (marca) + branco gelo + acentos ciano
   ============================================================ */

:root {
  --navy-900: #050f24;
  --navy-800: #071a3d;
  --navy-700: #0a2a6b;
  --blue-600: #0d47c9;
  --blue-500: #1565e0;
  --blue-400: #2f8bff;
  --cyan-400: #3fd0ff;
  --cyan-300: #7ee8ff;
  --ice-50: #f4f8ff;
  --ice-100: #e8f0fc;
  --ice-200: #d5e2f5;
  --slate-700: #2c3a55;
  --slate-500: #5b6a86;
  --slate-400: #8492ad;
  --white: #ffffff;
  --green: #25d366;
  --green-dark: #128c7e;

  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 55%, var(--cyan-400) 100%);
  --grad-dark: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);

  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 40px -10px rgba(7, 26, 61, 0.15);
  --shadow-strong: 0 30px 80px -20px rgba(7, 26, 61, 0.35);
  --shadow-glow: 0 0 60px -10px rgba(47, 139, 255, 0.55);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 84px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip; /* clip nao vira scroll container: mantem o header sticky */
  width: 100%;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-800); font-weight: 800; }
::selection { background: var(--blue-500); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- SECTION HEADINGS ---------- */
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 16px;
}
.section__tag::before { content: ""; width: 28px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.section__title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.02em; margin-bottom: 18px; }
.section__text { font-size: 17px; color: var(--slate-500); }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__text { color: rgba(255,255,255,.7); }
.section__head--light .section__tag { color: var(--cyan-300); }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease, background .3s ease, color .3s ease;
  overflow: hidden; white-space: nowrap;
}
.btn svg { flex: none; transition: transform .3s var(--ease-spring); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(21, 101, 224, .7);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(21, 101, 224, .8); }
.btn--primary:hover::before { opacity: 1; }
.btn--glow { animation: btnGlow 3s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(21,101,224,.7); }
  50% { box-shadow: 0 12px 45px -6px rgba(63,208,255,.9); }
}
.btn--ghost {
  color: #fff; border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px); background: rgba(255,255,255,.06);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--navy-700); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); }
.btn--outline { border: 2px solid var(--ice-200); color: var(--navy-700); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn--link { padding: 14px 4px; color: var(--blue-500); background: none; }
.btn--link:hover { color: var(--blue-600); }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy-900);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__flake { color: var(--cyan-300); animation: spinFlake 2.4s linear infinite; filter: drop-shadow(0 0 18px rgba(63,208,255,.8)); }
@keyframes spinFlake { to { transform: rotate(360deg); } }
.preloader__bar { width: 160px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--grad-brand); border-radius: 3px; animation: barSlide 1.2s ease-in-out infinite; }
@keyframes barSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* ---------- CURSOR GLOW / PROGRESS ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,208,255,.14) 0%, rgba(63,208,255,0) 65%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
}
body.has-mouse .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001;
  background: var(--grad-brand); box-shadow: 0 0 12px rgba(63,208,255,.7);
}

/* ---------- TOPBAR ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: 13px; position: relative; z-index: 100; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__left { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar__item svg { color: var(--cyan-400); }
a.topbar__item:hover { color: #fff; }
.topbar__right { display: flex; gap: 6px; }
.topbar__right a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; transition: background .3s, color .3s; }
.topbar__right a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--ice-200);
  transition: background .4s ease, box-shadow .4s ease, transform .4s ease;
}
.header.is-scrolled { background: #fff; box-shadow: 0 10px 40px -15px rgba(7,26,61,.28); }
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img {
  height: 62px; width: auto;
  mix-blend-mode: normal;
  transition: transform .4s var(--ease-spring);
}
.logo:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--navy-800);
  transition: color .3s, background .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--blue-500); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--blue-500); background: var(--ice-50); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: var(--ice-100); }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h) - 38px); min-height: calc(100svh - var(--header-h) - 38px);
  display: flex; align-items: center;
  background: var(--grad-dark); color: #fff; overflow: hidden;
  padding-block: 60px 100px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(63,208,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,208,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift { to { background-position: 64px 64px; } }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: orbFloat 14s ease-in-out infinite; }
.hero__orb--1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--blue-500), transparent 65%); top: -180px; right: -120px; }
.hero__orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, var(--cyan-400), transparent 65%); bottom: -220px; left: -160px; animation-delay: -7s; opacity: .35; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 40px) scale(1.08); } }
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85);
  backdrop-filter: blur(6px); margin-bottom: 28px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: pulseRing 1.8s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__title { font-size: clamp(38px, 5.4vw, 68px); color: #fff; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title--accent {
  background: linear-gradient(90deg, #7ee8ff 0%, #3fd0ff 40%, #2f8bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.72); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__features li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.hero__feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(63,208,255,.12); color: var(--cyan-300); border: 1px solid rgba(63,208,255,.25); }

.hero__visual { position: relative; display: flex; justify-content: center; width: 100%; }

/* ---------- CONFIGURADOR CAD ---------- */
.cad {
  --cad-bg: #0b1016;
  --cad-bg-2: #121a23;
  --cad-grid: rgba(159,216,245,.09);
  --cad-line: #9fd8f5;
  --cad-dim: #6e8ba0;
  --cad-text: #c9dbe8;
  --cad-edge: #223040;
  position: relative; width: 100%; max-width: 620px; overflow: hidden;
  color: var(--cad-text); background: var(--cad-bg);
  background-image: radial-gradient(120% 90% at 70% 8%, var(--cad-bg-2), var(--cad-bg));
  border: 1px solid var(--cad-edge); border-radius: 18px;
  box-shadow: 0 34px 90px -28px rgba(0,0,0,.82), 0 0 45px -16px rgba(63,208,255,.42);
}
.cad__bar {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; border-bottom: 1px solid var(--cad-edge);
  font: 10px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cad-dim);
}
.cad__bar strong { color: var(--cad-line); font-weight: 500; }
.cad__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 9px var(--blue-400); }
.cad__temperature { margin-left: auto; font-size: 12px; letter-spacing: .06em; color: var(--cad-line); font-weight: 700; white-space: nowrap; }
.cad__stage { position: relative; }
.cad__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--cad-grid) 1px, transparent 1px), linear-gradient(90deg, var(--cad-grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cad__stage svg { position: relative; display: block; width: 100%; height: auto; }
.cad-flow { stroke-dasharray: 5 7; animation: cadFlow 2.6s linear infinite; }
@keyframes cadFlow { to { stroke-dashoffset: -24; } }

.cad__controls {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px 24px;
  padding: 15px 18px 17px; border-top: 1px solid var(--cad-edge);
}
.cad__control label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 5px;
  font: 10.5px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cad-dim);
}
.cad__control label strong { color: var(--cad-line); font-size: 13px; letter-spacing: 0; font-weight: 600; white-space: nowrap; }
.cad__control input[type="range"] { appearance: none; width: 100%; height: 18px; margin: 0; display: block; background: transparent; cursor: pointer; }
.cad__control input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: #2b3a4c; }
.cad__control input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: #2b3a4c; }
.cad__control input[type="range"]::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border: 2px solid var(--cad-line); border-radius: 50%; background: var(--cad-bg); }
.cad__control input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--cad-line); border-radius: 50%; background: var(--cad-bg); }
.cad__control input[type="range"]#c-temp::-webkit-slider-runnable-track { background: linear-gradient(90deg,#1b58c8,#3f8fd6 28%,#7cc3e0 52%,#b9c4d2 74%,#f0a58c 88%,#e0231a); }
.cad__control input[type="range"]#c-temp::-moz-range-track { background: linear-gradient(90deg,#1b58c8,#3f8fd6 28%,#7cc3e0 52%,#b9c4d2 74%,#f0a58c 88%,#e0231a); }

.cad__outputs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--cad-edge); }
.cad__outputs > div { min-width: 0; padding: 11px 13px; border-right: 1px solid var(--cad-edge); }
.cad__outputs > div:last-child { border-right: 0; }
.cad__outputs small { display: block; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; font: 9.5px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #6f8799; white-space: nowrap; }
.cad__outputs strong { display: block; overflow: hidden; text-overflow: ellipsis; font: 500 13.5px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--cad-text); white-space: nowrap; }
.cad__footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px; border-top: 1px solid var(--cad-edge); }
.cad__footer p { flex: 1; min-width: 150px; color: #839bad; font: 10px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .03em; }
.cad__cta { flex: none; padding: 11px 16px; border-radius: 8px; font-size: 12px; }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255,255,255,.3);
}
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--cyan-300); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--grad-brand); color: #fff; overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { font-style: normal; opacity: .6; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- STATS ---------- */
.stats { background: var(--ice-50); padding-block: 56px; border-bottom: 1px solid var(--ice-200); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-spring); }
.stat:hover { transform: translateY(-6px); }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 14px; font-weight: 500; color: var(--slate-500); }

/* ---------- PRODUCTS ---------- */
.products { background: #fff; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--ice-200); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease-out), box-shadow .5s ease, border-color .4s;
  cursor: pointer; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-strong); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,26,61,.55));
  opacity: 0; transition: opacity .4s;
}
.product-card:hover .product-card__media::after { opacity: 1; }
.product-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(21,101,224,.7);
}
.product-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 21px; margin-bottom: 10px; transition: color .3s; }
.product-card:hover .product-card__body h3 { color: var(--blue-500); }
.product-card__body p { font-size: 15px; color: var(--slate-500); flex: 1; margin-bottom: 18px; }
.product-card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue-500); }
.product-card__link svg { transition: transform .3s var(--ease-spring); }
.product-card:hover .product-card__link svg { transform: translateX(5px); }

.product-card--cta { background: var(--grad-dark); border: 0; color: #fff; cursor: default; }
.product-card--cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(63,208,255,.35), transparent 55%);
}
.product-card__cta-inner { position: relative; padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; height: 100%; }
.product-card__cta-inner svg { color: var(--cyan-300); animation: spinFlake 14s linear infinite; }
.product-card__cta-inner h3 { color: #fff; font-size: 24px; }
.product-card__cta-inner p { color: rgba(255,255,255,.7); font-size: 15px; }

/* ---------- ABOUT ---------- */
.about { background: var(--ice-50); overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; padding-bottom: 60px; padding-right: 60px; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-strong); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--ice-50); }
.about__experience {
  position: absolute; left: -20px; bottom: 100px;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px; border-radius: 18px; background: var(--grad-brand); color: #fff;
  box-shadow: 0 20px 50px -15px rgba(21,101,224,.8);
  animation: floatA 5s ease-in-out infinite;
}
.about__experience strong { font-family: var(--font-head); font-size: 40px; font-weight: 900; line-height: 1; }
.about__experience > span { font-size: 13px; font-weight: 600; line-height: 1.25; opacity: .9; }
.about__content p { color: var(--slate-500); margin-bottom: 16px; }
.about__list { margin: 28px 0 32px; display: grid; gap: 12px; }
.about__list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--slate-700); }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-brand); position: relative; margin-top: 1px; }
.check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.about__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- FEATURES ---------- */
.features { background: var(--navy-900); color: #fff; overflow: hidden; }
.features__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(21,101,224,.35), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(63,208,255,.2), transparent 40%);
}
.features .container { position: relative; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  position: relative; padding: 36px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: transform .5s var(--ease-out), background .4s, border-color .4s;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(63,208,255,.15), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.feature:hover { transform: translateY(-8px); background: rgba(255,255,255,.07); border-color: rgba(63,208,255,.35); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-brand); color: #fff; box-shadow: 0 14px 30px -10px rgba(47,139,255,.8);
  transition: transform .5s var(--ease-spring);
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.feature p { color: rgba(255,255,255,.65); font-size: 15px; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--ice-50); }
.gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  background: #fff; border: 1.5px solid var(--ice-200); color: var(--slate-500);
  transition: all .3s;
}
.filter:hover { border-color: var(--blue-400); color: var(--blue-500); }
.filter.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(21,101,224,.8); }
.gallery-carousel { position: relative; }
.gallery-carousel__viewport { overflow: hidden; }
.gallery__grid { display: flex; gap: 16px; transition: transform .65s var(--ease-out); will-change: transform; }
.gallery__item {
  position: relative; flex: 0 0 calc((100% - 32px) / 3); height: 340px; border-radius: 16px; overflow: hidden; background: var(--ice-200); cursor: zoom-in;
  opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.gallery__item.is-visible { opacity: 1; transform: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,26,61,.75));
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item span {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transform: translateY(10px); opacity: 0; transition: all .4s var(--ease-out);
}
.gallery__item:hover span { transform: none; opacity: 1; }
.gallery__item i {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--navy-700);
  transform: scale(0); transition: transform .4s var(--ease-spring);
}
.gallery__item:hover i { transform: scale(1); }
.gallery-carousel__arrow {
  position: absolute; top: 170px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy-900); background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft); transform: translateY(-50%); transition: transform .3s var(--ease-spring), background .3s;
}
.gallery-carousel__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery-carousel__arrow--prev { left: 14px; }
.gallery-carousel__arrow--next { right: 14px; }
.gallery-carousel__status { min-height: 38px; margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.gallery-carousel__progress { width: min(260px, 45vw); height: 4px; overflow: hidden; border-radius: 999px; background: var(--ice-200); }
.gallery-carousel__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad-brand); transition: width .45s var(--ease-out); }
.gallery-carousel__counter { min-width: 78px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--slate-500); }
.gallery-carousel__toggle { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-800); background: var(--ice-100); }
.gallery-carousel__toggle:hover { background: var(--ice-200); }
.gallery-carousel__play-icon { display: none; }
.gallery-carousel__toggle.is-paused .gallery-carousel__pause-icon { display: none; }
.gallery-carousel__toggle.is-paused .gallery-carousel__play-icon { display: block; }

/* ---------- DOOR TYPES ---------- */
.door-types { background: var(--grad-dark); color: #fff; overflow: hidden; }
.door-types::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(21,101,224,.3), transparent 45%);
}
.door-types .container { position: relative; }
.door-types__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.door-type-card {
  position: relative; min-height: 260px; padding: 38px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease-out), background .4s, border-color .4s;
}
.door-type-card::before { content: ""; width: 44px; height: 3px; border-radius: 999px; background: var(--grad-brand); }
.door-type-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(63,208,255,.3); }
.door-type-card h3 { font-family: var(--font-head); font-size: 22px; color: #fff; }
.door-type-card p { font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,.78); }
.door-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; margin: 24px auto 0; }
.door-gallery__item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.door-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.door-gallery__item:hover img { transform: scale(1.04); }

/* ---------- CTA BANNER ---------- */
.cta-banner { background: var(--grad-brand); color: #fff; padding-block: 56px; position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after {
  content: "❄"; position: absolute; font-size: 240px; opacity: .08; line-height: 1; pointer-events: none;
  animation: spinFlake 30s linear infinite;
}
.cta-banner::before { top: -60px; left: -40px; }
.cta-banner::after { bottom: -90px; right: -30px; animation-direction: reverse; }
.cta-banner__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 16px; }

/* ---------- CONTACT ---------- */
.contact { background: #fff; }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__info > p { color: var(--slate-500); margin-bottom: 32px; }
.contact__list { display: grid; gap: 22px; margin-bottom: 32px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 2px; }
.contact__list a, .contact__list span { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy-800); }
.contact__list a:hover { color: var(--blue-500); }
.contact__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-500); transition: all .3s; }
.contact__list li:hover .contact__icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg); }
.contact__social { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ice-200); font-weight: 600; font-size: 14px; color: var(--slate-700); transition: all .3s; }
.social-btn:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }

.contact__form { padding: 40px; border-radius: var(--radius); background: var(--ice-50); border: 1px solid var(--ice-200); box-shadow: var(--shadow-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { position: relative; margin-bottom: 18px; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1.5px solid var(--ice-200); background: #fff;
  outline: none; transition: border-color .3s, box-shadow .3s; font-size: 15px; color: var(--navy-800);
}
.form__group textarea { resize: vertical; min-height: 120px; }
.form__group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6a86' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form__group label {
  position: absolute; left: 18px; top: 17px; font-size: 15px; color: var(--slate-400); pointer-events: none;
  transition: all .25s var(--ease-out);
}
.form__group input:focus ~ label, .form__group input:not(:placeholder-shown) ~ label,
.form__group textarea:focus ~ label, .form__group textarea:not(:placeholder-shown) ~ label,
.form__group label.label--static { top: 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-500); }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(21,101,224,.12); }
.form__group.is-error input, .form__group.is-error textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form__note { font-size: 13px; color: var(--slate-400); text-align: center; margin-top: 14px; }

/* ---------- MAP ---------- */
.map { position: relative; height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__card {
  position: absolute; left: max(20px, calc((100% - 1200px) / 2)); top: 50%; transform: translateY(-50%);
  width: 300px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-strong);
  display: grid; gap: 10px;
}
.map__card strong { font-family: var(--font-head); font-size: 18px; color: var(--navy-800); }
.map__card span { font-size: 14px; color: var(--slate-500); }
.map__card .btn { justify-self: start; margin-top: 6px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 90px; width: auto; mix-blend-mode: screen; margin-bottom: 18px; margin-left: -14px; }
.footer__brand p { font-size: 14px; max-width: 320px; margin-bottom: 22px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: all .3s; }
.footer__social a:hover { background: var(--grad-brand); border-color: transparent; transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.footer__col li { margin-bottom: 12px; font-size: 14.5px; }
.footer__col a { position: relative; transition: color .3s, padding-left .3s; }
.footer__col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--cyan-400); transition: width .3s; }
.footer__col a:hover { color: #fff; padding-left: 16px; }
.footer__col a:hover::before { width: 10px; }
.footer__contact li { line-height: 1.5; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- FLOATING ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; box-shadow: 0 14px 34px -8px rgba(37,211,102,.7);
  transition: transform .4s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulseRing 2s ease-out infinite; }
.wa-float__tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(10px);
  padding: 8px 14px; border-radius: 10px; background: var(--navy-800); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease-out);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.to-top {
  position: fixed; right: 24px; bottom: 100px; z-index: 900;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--navy-800); box-shadow: var(--shadow-strong); border: 1px solid var(--ice-200);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .4s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: minmax(0, 1100px); justify-content: center; align-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,15,36,.85); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative; width: 100%; min-width: 0; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.7);
  transform: translateY(30px) scale(.96); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close, .lightbox__close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy-800);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4); transition: all .3s var(--ease-spring);
}
.modal__close:hover, .lightbox__close:hover { transform: rotate(90deg) scale(1.08); background: #fff; }
.modal__media { position: relative; min-width: 0; background: var(--navy-900); display: flex; flex-direction: column; min-height: 420px; }
.modal__slider { flex: 1; position: relative; overflow: hidden; }
.modal__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform .8s var(--ease-out); transform: scale(1.04); }
.modal__slide.is-active { opacity: 1; transform: none; }
.modal__slide img { width: 100%; height: 100%; object-fit: cover; }
.modal__arrow {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--navy-800);
  transition: all .3s; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5);
}
.modal__arrow:hover { background: var(--blue-500); color: #fff; }
.modal__arrow--prev { left: 16px; } .modal__arrow--next { right: 16px; }
.modal__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: rgba(0,0,0,.4); scrollbar-width: thin; }
.modal__thumbs button { flex: none; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; opacity: .5; border: 2px solid transparent; transition: all .3s; }
.modal__thumbs button.is-active, .modal__thumbs button:hover { opacity: 1; border-color: var(--cyan-400); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 44px 40px; overflow-y: auto; min-width: 0; }
.modal__body h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; letter-spacing: -0.02em; }
.modal__content p { color: var(--slate-500); margin-bottom: 14px; font-size: 15.5px; }
.modal__content h4 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 20px 0 12px; color: var(--navy-800); }
.modal__lead { font-family: var(--font-head); font-size: 18px !important; font-weight: 700; color: var(--blue-500) !important; }
.modal__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 20px; }
.modal__list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--slate-700); font-weight: 500; }
.modal__list li::before { content: "❄"; position: absolute; left: 0; color: var(--blue-400); font-size: 12px; top: 2px; }
.modal__list--rich { grid-template-columns: 1fr; gap: 10px; }
.modal__list--rich li { font-weight: 400; color: var(--slate-500); }
.modal__list--rich strong { color: var(--navy-800); }
.modal__body .btn { margin-top: 10px; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5,15,36,.94); opacity: 0; transition: opacity .4s; }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__figure { position: relative; z-index: 2; max-width: min(1100px, 100%); max-height: calc(100vh - 40px); display: grid; gap: 14px; justify-items: center; transform: scale(.94); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.lightbox.is-open .lightbox__figure { transform: none; opacity: 1; }
.lightbox__figure img { max-height: calc(100vh - 120px); max-width: 100%; border-radius: 16px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); object-fit: contain; }
.lightbox__figure figcaption { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; }
.lightbox__close { background: rgba(255,255,255,.12); color: #fff; }
.lightbox__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: all .3s; }
.lightbox__arrow:hover { background: #fff; color: var(--navy-800); }
.lightbox__arrow--prev { left: 20px; } .lightbox__arrow--next { right: 20px; }
.lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 4; color: rgba(255,255,255,.6); font-size: 13px; font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; }
body.no-scroll { overflow: hidden; }

/* ---------- SCROLL REVEAL ---------- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-text { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease-out), opacity .6s; }
.reveal-text.is-visible { transform: none; opacity: 1; }

/* ---------- TILT ---------- */
.tilt { transform-style: preserve-3d; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .door-types__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__actions, .hero__features { justify-content: center; }
  .hero__visual { margin-top: 30px; }
  .cad { max-width: 620px; text-align: left; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  /* no celular o deslocamento horizontal do reveal estoura a lateral: usa eixo Y */
  .reveal-left, .reveal-right { transform: translateY(36px); }
  .nav-toggle { display: flex; }
  /* backdrop-filter no header vira containing block: por isso o menu e absoluto ao header */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px;
    padding: 28px 24px; background: #fff;
    /* NAO usar translateX aqui: empurra o painel para fora da viewport e cria
       scroll horizontal (faixa branca) no celular. Abre com fade + slide vertical. */
    opacity: 0; transform: translateY(-14px);
    transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .45s;
    overflow-y: auto; visibility: hidden;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-size: 18px; padding: 14px 16px; border-radius: 12px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--ice-100); }
  .nav__cta { margin-top: 12px; justify-content: center; padding: 16px; font-size: 16px; }
  .logo img { height: 52px; }
  .topbar__item--hide-sm { display: none; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__media { padding-right: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .modal__dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { min-height: 300px; max-height: 42vh; }
  .modal__body { padding: 30px 24px; }
  .map__card { left: 20px; right: 20px; width: auto; top: auto; bottom: 20px; transform: none; }
  .map { height: 520px; }
  .gallery__item { flex-basis: calc((100% - 16px) / 2); height: 280px; }
  .gallery-carousel__arrow { top: 140px; }
}

@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 32px); }
  .hero { padding-block: 44px 90px; }
  .hero__title { font-size: clamp(34px, 9.5vw, 44px); }
  .hero__features { gap: 14px; }
  .hero__features li { font-size: 13px; }
  .cad { border-radius: 14px; }
  .cad__bar > span:nth-of-type(2) { display: none; }
  .cad__stage svg text { font-size: 17px; }
  .cad__controls { gap: 11px 16px; padding-inline: 14px; }
  .cad__outputs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cad__outputs > div:nth-child(2) { border-right: 0; }
  .cad__outputs > div:nth-child(-n+2) { border-bottom: 1px solid var(--cad-edge); }
  .cad__footer { align-items: stretch; flex-direction: column; }
  .cad__cta { width: 100%; }
  .products__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .gallery__item { flex-basis: 100%; height: 260px; }
  .gallery-carousel__arrow { top: 130px; width: 42px; height: 42px; }
  .gallery-carousel__arrow--prev { left: 8px; }
  .gallery-carousel__arrow--next { right: 8px; }
  .gallery-carousel__progress { width: min(170px, 38vw); }
  .door-types__grid { grid-template-columns: 1fr; }
  .door-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .modal__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats__grid { gap: 14px; }
  .stat { padding: 18px 12px; }
  .about__experience { left: 0; bottom: 80px; padding: 14px 18px; }
  .about__experience strong { font-size: 30px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 16px; bottom: 86px; }
  .lightbox__arrow { width: 44px; height: 44px; }
  .lightbox__arrow--prev { left: 8px; } .lightbox__arrow--next { right: 8px; }
}

@media (max-width: 360px) {
  .cad__stage svg text { font-size: 22px; }
  .cad__controls { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-text, .gallery__item { opacity: 1; transform: none; }
}
