/* ZL Cimentos · proposta de redesign */

:root {
  --bg: #eef0f0;
  --bg-alt: #e4e7e7;
  --surface: #f9fafa;
  --surface-2: #ffffff;
  --line: #d3d8d9;
  --text: #15191b;
  --text-2: #4a5357;
  --text-3: #6b7479;
  --accent: #b3212b;
  --accent-hover: #971a23;
  --accent-ink: #ffffff;
  --accent-soft: #f6e3e4;
  --accent-text: #b3212b;
  --img-outline: oklch(0 0 0 / .1);
  --map-off: #cfd4d6;
  --map-off-hover: #bcc2c5;
  --map-stroke: #eef0f0;
  --map-on: #b3212b;
  --map-on-hover: #d02a35;
  --map-label: #4a5357;
  --success: #1e7a4c;
  --inv-bg: #15191b;
  --inv-fg: #eef0f0;
  --inv-accent: #f0636b;
  --shadow: 0 1px 2px rgb(40 48 52 / .06), 0 8px 24px rgb(40 48 52 / .08);
  --shadow-lg: 0 24px 60px rgb(40 48 52 / .18);

  --r-sm: 4px;
  --r-md: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;

  --z-header: 20;
  --z-fab: 30;
  --z-cookie: 40;

  color-scheme: light dark;
}

/* Tema escuro: pelo sistema (quando o usuário não escolheu "claro") ou forçado pelo seletor */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111416;
    --bg-alt: #161a1c;
    --surface: #1a1f21;
    --surface-2: #20262a;
    --line: #2c3336;
    --text: #e9ecec;
    --text-2: #b0b8bb;
    --text-3: #8a9397;
    --accent: #e0464f;
    --accent-hover: #ea5f67;
    --accent-ink: #1a0b0c;
    --accent-soft: #3a1a1d;
    --accent-text: #f0727a;
    --img-outline: oklch(1 0 0 / .1);
    --map-off: #2a3134;
    --map-off-hover: #353d41;
    --map-stroke: #111416;
    --map-on: #d33a44;
    --map-on-hover: #ea5f67;
    --map-label: #a3adb1;
    --success: #4cc389;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .3);
    --shadow-lg: 0 24px 60px rgb(0 0 0 / .5);
    --inv-bg: #20262a;
    --inv-fg: #e9ecec;
    --inv-accent: #f0727a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111416;
  --bg-alt: #161a1c;
  --surface: #1a1f21;
  --surface-2: #20262a;
  --line: #2c3336;
  --text: #e9ecec;
  --text-2: #b0b8bb;
  --text-3: #8a9397;
  --accent: #e0464f;
  --accent-hover: #ea5f67;
  --accent-ink: #1a0b0c;
  --accent-soft: #3a1a1d;
  --accent-text: #f0727a;
  --img-outline: oklch(1 0 0 / .1);
  --map-off: #2a3134;
  --map-off-hover: #353d41;
  --map-stroke: #111416;
  --map-on: #d33a44;
  --map-on-hover: #ea5f67;
  --map-label: #a3adb1;
  --success: #4cc389;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .3);
  --shadow-lg: 0 24px 60px rgb(0 0 0 / .5);
  --inv-bg: #20262a;
  --inv-fg: #e9ecec;
  --inv-accent: #f0727a;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 64px); } }

.section { padding-block: clamp(72px, 10vw, 128px) clamp(80px, 11vw, 140px); }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.125rem); font-weight: 700; }
.section-sub { margin-top: 16px; color: var(--text-2); font-size: 1.125rem; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .ph { transition: transform .25s var(--ease); }
.btn-primary:hover .ph-arrow-right { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: .9375rem; }
.btn-lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 2px; cursor: pointer;
  font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 30%, transparent);
  text-underline-offset: 5px; transition: text-decoration-color .2s, color .2s;
}
.btn-text:hover { color: var(--accent-text); text-decoration-color: currentColor; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(0 0 0 / .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 60px; }
.brand img { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 34px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; font-size: .96875rem;
  color: var(--text-2); position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.link-quiet { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--text-2); font-size: .9375rem; }
.link-quiet:hover { color: var(--text); }

/* Seletor de tema: botão único que alterna automático, claro e escuro */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 38px; min-width: 38px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); color: var(--text-2); cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-3); }
.theme-toggle:active { transform: scale(.96); }
.theme-icons { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.theme-icons i {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.25rem;
  opacity: 0; transform: scale(.25); filter: blur(4px);
  transition-property: opacity, transform, filter; transition-duration: .3s; transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.theme-toggle[data-current="auto"] [data-icon="auto"],
.theme-toggle[data-current="light"] [data-icon="light"],
.theme-toggle[data-current="dark"] [data-icon="dark"] { opacity: 1; transform: none; filter: none; }
.theme-toggle--full { display: flex; width: 100%; height: 48px; padding: 0 16px; margin-bottom: 16px; font-weight: 500; font-size: 1rem; }
.theme-toggle--full strong { font-weight: 700; color: var(--text); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { padding: 8px 16px 24px; border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a { padding: 14px 0; text-decoration: none; font-size: 1.25rem; font-weight: 600; font-stretch: 110%; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; }

@media (max-width: 960px) {
  .main-nav, .link-quiet, .header-actions > .theme-toggle { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; gap: 8px; }
}
@media (max-width: 520px) { .header-actions .btn { display: none; } }

/* Hero */
.hero { padding-top: clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.625rem); font-weight: 750; line-height: 1.02; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lead { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 46ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.hero-media { position: relative; padding-bottom: 56px; }
.hero-img { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1; max-height: min(64vh, 600px); width: 100%; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scale(1.08); }
.hero-img-small {
  position: absolute; left: -48px; bottom: 0; width: 46%; margin: 0; border-radius: var(--r-md); overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.hero-img-small img { width: 100%; height: 100%; object-fit: cover; }

.seals {
  margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.seal { display: flex; align-items: center; gap: 16px; }
.seal img { height: 44px; width: auto; border-radius: 6px; background: #fff; padding: 4px; box-shadow: var(--shadow); }
.seal span { font-size: .9375rem; color: var(--text-2); font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { padding-bottom: 40px; margin-left: 24px; }
  .hero-img { aspect-ratio: 16 / 11; }
  .hero-img-small { left: -24px; width: 42%; border-width: 4px; }
}

/* Hero com vídeo de fundo (index-video.html) */
.hero--video {
  position: relative; isolation: isolate; overflow: hidden; padding-top: 0; display: grid; align-items: end;
  min-height: min(68svh, 620px); background: #0d0f10; color: #fff;
}
.hero-video { position: absolute; inset: 0; z-index: -1; }
.hero-video img, .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video video { opacity: 0; transition: opacity .9s var(--ease); }
.hero-video video.is-playing { opacity: 1; }
.hero-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgb(10 12 13 / .92) 0%, rgb(10 12 13 / .62) 46%, rgb(10 12 13 / .22) 100%),
    linear-gradient(90deg, rgb(10 12 13 / .35) 0%, transparent 60%);
}
.hero-video-inner { padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 36px); }
.hero--video h1 { font-size: clamp(2.25rem, 6.2vw, 5.25rem); line-height: 1.06; text-wrap: balance; }
.hero-foot { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 56px; }
.hero-foot .lead { margin-top: 0; }
.hero--video .seals { margin-top: 0; padding-top: 0; border-top: 0; gap: 16px 36px; }
.hero--video h1 em { display: block; }
@media (max-width: 700px) {
  .hero--video h1 { font-size: clamp(1.5rem, 7.9vw, 2.75rem); line-height: 1.12; }
  .hero-video::after { background: linear-gradient(0deg, rgb(10 12 13 / .95) 0%, rgb(10 12 13 / .74) 55%, rgb(10 12 13 / .5) 100%); }
  .hero-foot { gap: 28px; }
  .hero-foot-main, .hero--video .seals { flex: 1 1 100%; }
  .hero--video .hero-ctas { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero--video .hero-ctas .btn { justify-content: center; }
  .hero--video .hero-ctas .btn-text { align-self: center; }
  .hero--video .seals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .18); }
  .hero--video .seal { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.hero--video h1 em { color: var(--inv-accent); }
.hero--video .lead { color: rgb(255 255 255 / .84); }
.hero--video .btn-text { color: #fff; }
.hero--video .btn-text:hover { color: var(--inv-accent); }
.hero--video .seal span { color: rgb(255 255 255 / .8); }
.hero--video + .stats { margin-top: 0; }
.hero-video-toggle {
  position: absolute; right: clamp(16px, 3vw, 32px); top: clamp(16px, 3vw, 32px); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .28); background: rgb(10 12 13 / .5); color: #fff;
  font-size: 1.125rem; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s;
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { background: rgb(10 12 13 / .8); }

/* Stats */
.stats { margin-top: clamp(56px, 8vw, 96px); background: var(--inv-bg); color: var(--inv-fg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.route { position: relative; height: clamp(72px, 9vw, 104px); }
.route-track, .route-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.route-track { background: repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 28%, transparent) 0 10px, transparent 10px 18px); }
.route-fill { background: var(--inv-accent); transform: scaleX(0); transform-origin: 0 50%; }
.route-stop {
  position: absolute; bottom: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--inv-bg); border: 2px solid color-mix(in oklab, currentColor 34%, var(--inv-bg));
  transition: background-color .25s, border-color .25s, box-shadow .5s var(--ease);
}
.route-stop:nth-of-type(3) { left: 0; margin-left: 0; }
.route-stop:nth-of-type(4) { left: 25%; }
.route-stop:nth-of-type(5) { left: 50%; }
.route-stop:nth-of-type(6) { left: 75%; }
.route-stop.is-on { background: var(--inv-accent); border-color: var(--inv-accent); box-shadow: 0 0 0 5px color-mix(in oklab, var(--inv-accent) 22%, transparent); }
.route-truck { position: absolute; left: 0; bottom: 0; width: clamp(96px, 11vw, 150px); will-change: transform; }
.route-truck svg { display: block; width: 100%; height: auto; overflow: visible; }
.truck-bags { fill: #d8d2c4; }
.truck-stripes { stroke: var(--inv-accent); stroke-width: 1.5; fill: none; }
.truck-bed { fill: #9aa3a7; }
.truck-cab { fill: var(--inv-accent); }
.truck-glass { fill: #15191b; opacity: .6; }
.truck-chassis { fill: #4a5357; }
.stat { padding: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 28px); border-left: 1px solid color-mix(in oklab, currentColor 16%, transparent); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(2.75rem, 5.5vw, 4.5rem); font-weight: 800; font-stretch: 118%; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num .plus, .stat-num .approx { color: var(--inv-accent); margin-right: 2px; }
.stat-label { margin-top: 10px; font-size: .96875rem; opacity: .72; max-width: 22ch; }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .route-stop { display: none; }
  .stat { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in oklab, currentColor 16%, transparent); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid color-mix(in oklab, currentColor 16%, transparent); }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 0 18% 12%; }
.about-img-a { border-radius: var(--r-md); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-img-b {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-md); border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
}
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); font-weight: 700; margin-bottom: 28px; }
.about-copy > p { color: var(--text-2); max-width: 58ch; }
.about-copy > p + p { margin-top: 16px; }
.notice {
  margin-top: 32px; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--r-md); background: var(--accent-soft);
}
.notice .ph { font-size: 1.75rem; color: var(--accent-text); flex-shrink: 0; }
.notice p { font-size: .96875rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media { order: 2; } }

/* Units / map */
.units { background: var(--bg-alt); }
.map-shell {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 0;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden;
  min-height: 640px;
}
.map-stage { position: relative; padding: 0; min-height: 520px; overflow: hidden; background:
  radial-gradient(circle at 60% 70%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 55%), var(--surface); }
#br-map { width: 100%; height: 100%; max-height: 700px; display: block; touch-action: manipulation; }

.state { fill: var(--map-off); stroke: var(--map-stroke); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .25s var(--ease), opacity .4s var(--ease); }
.state.is-served { fill: var(--map-on); cursor: pointer; }
.state:not(.is-served):hover { fill: var(--map-off-hover); }
.state.is-served:hover, .state.is-served:focus-visible { fill: var(--map-on-hover); outline: none; }
.state:focus { outline: none; }
.state.is-served:focus-visible { stroke: var(--text); stroke-width: 2.5; }
.map-stage.is-zoomed .state:not(.is-current) { opacity: .45; }
.map-stage.is-zoomed .state.is-served:not(.is-current) { opacity: .75; }

.uf-label { font-weight: 700; fill: var(--map-label); pointer-events: none; text-anchor: middle; dominant-baseline: central; letter-spacing: .02em; transition: opacity .3s; }
.uf-label.is-served { fill: #fff; }
.map-stage.is-zoomed .uf-label { opacity: 0; }
.map-stage.is-compact .uf-label.is-small { display: none; }

.pin { cursor: pointer; opacity: 0; }
.pin .pin-halo { fill: #fff; opacity: .5; transform-box: fill-box; transform-origin: center; }
.pin .pin-dot { fill: #fff; stroke: #15191b; }
.pin-label { font-weight: 700; fill: var(--text); paint-order: stroke; stroke: var(--surface); stroke-linejoin: round; pointer-events: none; }
.pin.is-hot .pin-dot { fill: #15191b; stroke: #fff; }
.map-stage.is-zoomed .pin { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .map-stage.is-zoomed .pin .pin-halo { animation: pulse 2.2s var(--ease) infinite; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.2); opacity: 0; } }

.map-tooltip {
  position: absolute; pointer-events: none; left: 0; top: 0; padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--text); color: var(--bg); font-size: .875rem; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s;
}
.map-tooltip strong { font-weight: 700; }
.map-tooltip.is-visible { opacity: 1; }

.map-reset {
  position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2);
  font-weight: 600; font-size: .9375rem; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s;
}
.map-reset:hover { border-color: var(--accent); }
.map-reset:active { transform: scale(.96); }
.map-legend { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 18px; font-size: .8125rem; color: var(--text-3); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.swatch-on { background: var(--map-on); }
.swatch-pin { border-radius: 50%; background: #fff; border: 3px solid #15191b; box-shadow: 0 0 0 1px var(--line); }

.map-panel { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--surface-2); }
.panel-tabs { display: flex; gap: 4px; padding: 14px; border-bottom: 1px solid var(--line); }
.panel-tabs button {
  flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 9px 8px;
  border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.panel-tabs button span { font-size: .75rem; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: var(--bg-alt); color: var(--text-3); font-variant-numeric: tabular-nums; }
.panel-tabs button:hover { background: var(--bg-alt); color: var(--text); }
.panel-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.panel-tabs button[aria-pressed="true"] span { background: color-mix(in oklab, var(--bg) 20%, transparent); color: var(--bg); }

.unit-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; max-height: 590px; }
.unit {
  position: relative; padding: 14px 18px 14px 22px; border-radius: 8px;
  transition: background-color .2s var(--ease);
}
.unit + .unit { margin-top: 2px; }
.unit::before {
  content: ""; position: absolute; left: 8px; top: 20px; bottom: 20px; width: 3px; border-radius: 2px;
  background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease);
}
.unit.is-hot { background: var(--bg-alt); }
.unit.is-hot::before { transform: scaleY(1); }
.unit-photo { display: block; width: 100%; margin-bottom: 12px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.unit-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; outline: 1px solid var(--img-outline); outline-offset: -1px; border-radius: inherit; transition: transform .5s var(--ease); }
.unit-photo:hover img { transform: scale(1.03); }
.unit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.unit h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.unit .uf { font-size: .75rem; font-weight: 700; color: var(--accent-text); letter-spacing: .08em; }
.unit address { font-style: normal; color: var(--text-2); font-size: .9375rem; margin-top: 6px; line-height: 1.5; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .9375rem; }
.unit-actions a, .unit-locate { min-height: 24px; }
.unit-actions a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: var(--text); }
.unit-actions a:hover, .unit-locate:hover { color: var(--accent-text); }
.unit-locate { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: inherit; color: var(--text); }
.unit-locate .ph { color: var(--accent-text); }
.unit-actions .ph { color: var(--accent-text); }

@media (max-width: 960px) {
  .map-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .panel-tabs { padding: 10px; gap: 2px; }
  .panel-tabs button { padding: 9px 4px; min-width: 0; gap: 4px; }
  .panel-tabs button span { padding: 1px 5px; }
  .map-stage { min-height: 0; padding: 0 0 40px; }
  .map-panel { border-left: 0; border-top: 1px solid var(--line); }
  .unit-list { max-height: none; }
  .map-reset { top: 12px; left: 12px; }
  .map-legend { left: 12px; bottom: 12px; }
}

/* Products */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.product {
  display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow);
}
.product-b { background: var(--inv-bg); color: var(--inv-fg); }
.product-b .chips li { background: color-mix(in oklab, currentColor 12%, transparent); }
.product-b .product-tag { color: var(--inv-accent); }
.product-img { position: relative; align-self: start; }
.product-img::before {
  content: ""; position: absolute; inset: 18% 6% 2%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 22%, transparent), transparent);
  filter: blur(8px);
}
.product-img img { position: relative; width: 100%; height: auto; transition: transform .5s var(--ease); }

.product h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); font-weight: 750; }
.product-tag { margin-top: 6px; font-weight: 600; color: var(--accent-text); }
.product-body > p:not(.product-tag):not(.chips-label) { margin-top: 14px; font-size: .96875rem; opacity: .82; }
.chips-label { margin-top: 20px; font-size: .8125rem; font-weight: 600; opacity: .65; }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: var(--r-sm); background: var(--bg-alt); font-size: .875rem; font-weight: 500; }
.disclosure {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid color-mix(in oklab, currentColor 22%, transparent); background: transparent; border-radius: var(--r-sm);
  font-weight: 600; font-size: .9375rem; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.disclosure:hover { border-color: currentColor; }
.disclosure .caret { transition: transform .3s var(--ease); }
.disclosure[aria-expanded="true"] .caret { transform: rotate(180deg); }
.disclosure-panel { margin-top: 16px; overflow: hidden; }
.disclosure-panel img { border-radius: 8px; background: #fff; padding: 8px; width: 100%; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .product { grid-template-columns: 1fr; } .product-img { max-width: 170px; } }

/* Purpose */
.purpose { background: var(--bg-alt); }
.purpose-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 96px); }
.purpose h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; }
.purpose h3 .ph { color: var(--accent-text); font-size: 1.5rem; }
.purpose-statement { margin-top: 20px; font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 600; font-stretch: 108%; line-height: 1.18; letter-spacing: -.02em; }
.purpose-side { display: grid; gap: 40px; align-content: start; padding-top: 8px; }
.purpose-item h3 { margin-bottom: 10px; }
.purpose-item p { color: var(--text-2); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.values li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-weight: 500; }
.values li::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.purpose-item + .purpose-item { padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .purpose-grid { grid-template-columns: 1fr; } }

/* HQ bento */
.video { padding-bottom: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #0d0f10; box-shadow: var(--shadow-lg); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(8 10 11 / .1), rgb(8 10 11 / .45)); }
.video-btn {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: clamp(1.5rem, 3vw, 2.25rem);
  transform: translate(-50%, -50%); box-shadow: 0 8px 32px rgb(0 0 0 / .4); transition: transform .3s var(--ease), background-color .2s;
}
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.video-play:hover img { transform: scale(1.02); }
.video-play:focus-visible { outline-offset: -4px; }
.video-alt { margin-top: 16px; font-size: .9375rem; }
.video-alt a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.video-alt a:hover { color: var(--accent-text); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 260px 260px; gap: 12px; }
.bento-item { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }

.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .25), transparent 40%); opacity: 0; transition: opacity .3s; }

.b-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.b-2 { grid-column: 3 / 5; }
.b-3 { grid-column: 3 / 4; }
.b-4 { grid-column: 4 / 5; }
.b-5 { display: none; }
@media (min-width: 1100px) {
  .bento { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .b-1 { grid-column: 1 / 2; }
  .b-2 { grid-column: 2 / 4; }
  .b-3 { grid-column: 4 / 5; }
  .b-4 { grid-column: 2 / 3; }
  .b-5 { display: block; grid-column: 3 / 5; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .b-1 { grid-column: 1 / 3; grid-row: auto; }
  .b-2 { grid-column: 1 / 3; }
  .b-3, .b-4 { grid-column: auto; }
}

.lightbox {
  width: min(1200px, 100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgb(8 10 11 / .9); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: #cfd4d6; font-size: .9375rem; }
.lb-close, .lb-nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(10 12 13 / .55); color: #fff; font-size: 1.375rem; backdrop-filter: blur(6px); display: grid; place-items: center; transition: background-color .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgb(10 12 13 / .8); }
.lb-close { top: -56px; right: 0; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Sales */
.sales-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sales-copy h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 750; }
.sales-copy > p { margin-top: 20px; color: var(--text-2); max-width: 44ch; font-size: 1.125rem; }
.channels { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channels li:nth-child(3) { grid-column: 1 / -1; }
.insta-link { margin-top: 20px; color: var(--text-2); }
.channels a {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); text-decoration: none;
  background: var(--surface); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
  min-width: 0;
}

.channels .ph { font-size: 1.5rem; color: var(--accent-text); flex-shrink: 0; }
.channels span { display: grid; font-weight: 600; font-size: .9375rem; min-width: 0; overflow-wrap: anywhere; }
.channels small { font-weight: 500; color: var(--text-3); font-size: .8125rem; }

.sales-form { background: var(--surface-2); border-radius: var(--r-md); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.segmented { border: 0; padding: 4px; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border-radius: 8px; }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label {
  position: relative; text-align: center; padding: 10px 8px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: .9375rem;
  color: var(--text-2); transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--text-3); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.field.has-error input { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field.has-error input:focus { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.error { display: flex; align-items: center; gap: 6px; color: var(--accent-text); font-size: .875rem; font-weight: 500; }
.error .ph { font-size: 1rem; flex-shrink: 0; }
.error:empty { display: none; }
.btn .btn-label { transition: opacity .2s; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .ph { animation: fly .8s var(--ease) infinite alternate; }
@keyframes fly { to { transform: translate(4px, -4px); } }

.pf-message { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--accent-soft); }
.pf-message .ph { font-size: 1.75rem; color: var(--accent-text); }
.pf-message p + p { margin-top: 6px; color: var(--text-2); }

.form-success { text-align: center; padding: 40px 8px; outline: none; }
.form-success .ph-fill { font-size: 3.5rem; color: var(--success); }
.form-success p { margin: 12px auto 16px; max-width: 34ch; }

@media (max-width: 900px) { .sales-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .channels { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 16px; color: var(--text-2); font-size: .9375rem; max-width: 32ch; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-nav a, .footer-contact a { text-decoration: none; color: var(--text-2); font-size: .9375rem; transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent-text); }
.footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact .ph { color: var(--accent-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-2); }
.footer-bottom a { color: var(--text-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-fab); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1f9d55; color: #fff; font-size: 1.75rem; text-decoration: none;
  box-shadow: 0 10px 28px -8px rgb(20 90 50 / .6); transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab:active { transform: scale(.96); }

.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: var(--z-cookie); max-width: 420px;
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface-2); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .875rem; color: var(--text-2);
}
.cookie a { color: var(--accent-text); }
@media (max-width: 560px) { .cookie { left: 12px; right: 84px; bottom: 12px; flex-direction: column; align-items: stretch; } }

/* Contorno sutil nas fotos, para profundidade consistente nos dois temas */
.hero-img img, .hero-img-small img, .about-media img, .bento-item img, .lightbox img { outline: 1px solid var(--img-outline); outline-offset: -1px; }

/* Hover apenas onde existe ponteiro com hover, evitando estados presos após toque */
@media (hover: hover) {
  .unit:hover { background: var(--bg-alt); }
  .unit:hover::before { transform: scaleY(1); }
  .product:hover .product-img img { transform: translateY(-6px) rotate(-2deg); }
  .bento-item:hover img { transform: scale(1.05); }
  .bento-item:hover::after { opacity: 1; }
  .channels a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
}

/* Reveal base (JS toggles; sem JS tudo visível) */
.js-motion .reveal, .js-motion [data-hero], .js-motion [data-hero-media] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
