/* ISA Engenheira — estrutura do mockup: hero escuro, faixa clara de áreas, vitrine escura em linha,
   sobre em 3 colunas, conteúdos escuros com setas, rodapé. Serifa editorial + laranja de sinalização. */
:root {
  --dark: #111315;
  --dark-2: #1c1e20;
  --dark-3: #26292b;
  --paper: #F5F3EE;
  --steel: #858A8C;
  --orange: #FF6B35;
  --orange-text: #C8471A;
  --on-dark: #F5F3EE;
  --on-dark-2: #b6b8b8;
  --on-paper: #111315;
  --on-paper-2: #50565a;
  --line-dark: rgba(245, 243, 238, .14);
  --line-paper: rgba(17, 19, 21, .13);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--on-paper); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.ico { width: 16px; height: 16px; flex: none; }
.wrap { width: min(1240px, 100% - 56px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--dark); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

h1 { font-size: clamp(2.8rem, 5.6vw, 4.9rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.6rem; line-height: 1.06; }
em { font-style: italic; color: var(--orange); }
.about em { color: var(--on-paper); }

.eyebrow { display: flex; align-items: center; gap: 12px; font: 700 10.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); flex: none; }
.eyebrow-plain::before { display: none; }
.eyebrow b { color: var(--orange); font-weight: 700; margin: 0 .35em; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--orange); font: 700 .82rem/1 var(--sans); cursor: pointer; background: none; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover { background: var(--orange); color: var(--dark); transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .78rem; }
.btn-fill { background: var(--orange); color: var(--dark); }
.btn-fill:hover { background: #ff8051; box-shadow: 0 12px 28px -12px rgba(255,107,53,.7); }
.btn-white { border-color: rgba(245,243,238,.6); color: var(--on-dark); }
.btn-white:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }

/* Cabeçalho */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid rgba(255,255,255,.1); transition: background-color .35s, border-color .35s; }
.site-header.scrolled, .site-header.open { background: rgba(17,19,21,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .35s var(--ease); }
.scrolled .nav { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand strong { font: 400 2.1rem/1 var(--serif); letter-spacing: .01em; }
.brand i { width: 1px; height: 22px; background: var(--orange); }
.brand span { font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.links { display: flex; gap: clamp(14px, 2vw, 28px); }
.links a { position: relative; padding: 8px 0; font-size: .78rem; color: #d7d8d8; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.links a:hover { color: #fff; }
.links a.active { color: var(--orange); }
.links a.active::after { transform: scaleX(1); }
.nav-cta { color: var(--on-dark); }
.menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu span:first-child { top: 18px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span { top: 21.5px; }
.menu[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 600px; height: min(780px, 88vh); display: flex; align-items: center; background: #101112; color: var(--on-dark); }
.hero { background: radial-gradient(70% 90% at 72% 42%, #231a14 0%, #141414 55%, #101112 100%); }
.hero-terrain { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(66%, 1000px); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.hero-terrain canvas { width: 100%; height: 100%; display: block; }
.terrain-labels { position: absolute; top: 108px; right: max(28px, calc((100vw - 1240px) / 2)); display: grid; gap: 6px; text-align: right; font: 500 9.5px/1.3 var(--mono); letter-spacing: .14em; color: rgba(245,243,238,.45); }
.terrain-labels .tl-1::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 8px 3px 0; background: var(--orange); }
.hero-topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transition: transform 1s var(--ease); }
.hero-wrap { padding-top: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero-copy { max-width: 560px; align-self: center; }

/* Lançamento com contador */
.launch { width: 330px; margin-bottom: 4px; padding: 22px 22px 20px; display: grid; gap: 10px; border-radius: 14px;
  background: rgba(20,21,23,.72); border: 1px solid rgba(245,243,238,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); animation: up .9s var(--ease) .7s both; }
.launch-eyebrow { display: flex; align-items: center; gap: 10px; font: 700 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--orange); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.launch-title { font: 400 1.65rem/1.05 var(--serif); color: var(--on-dark); }
.launch-date { font-size: .82rem; color: var(--on-dark-2); }
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 6px 0 8px; }
.cd div { display: grid; justify-items: center; gap: 4px; padding: 10px 0 8px; border-radius: 8px; background: rgba(245,243,238,.06); border: 1px solid rgba(245,243,238,.08); }
.cd b { font: 500 1.6rem/1 var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
.cd span { font: 600 9px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.launch .btn { width: 100%; }
.launch-chip { display: none; }

.hero .eyebrow { color: var(--orange); animation: up .8s var(--ease) both; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
h1 .ln > span { display: inline-block; white-space: nowrap; animation: lineUp 1.1s var(--ease) both; }
h1 .ln:nth-child(2) > span { animation-delay: .08s } h1 .ln:nth-child(3) > span { animation-delay: .16s } h1 .ln:nth-child(4) > span { animation-delay: .24s }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }
.hero-sub { margin: 22px 0 28px; max-width: 400px; color: #d9dada; animation: up .9s var(--ease) .4s both; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; animation: up .9s var(--ease) .5s both; }
.scroll-cue { position: absolute; right: max(28px, calc((100% - 1240px) / 2)); bottom: 26px; display: flex; align-items: center; gap: 10px; font: 500 9px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c9caca; }
.mouse { width: 20px; height: 32px; border: 1.5px solid #c9caca; border-radius: 12px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; background: var(--orange); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translateY(8px); opacity: .3; } }

/* Áreas */
.areas { position: relative; isolation: isolate; padding: clamp(48px, 6vw, 72px) 0; overflow: hidden; }
.paper-topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.areas-grid { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 18px; }
.intro { align-self: center; padding-right: 16px; display: grid; gap: 16px; align-content: center; }
.areas .intro > p { color: var(--on-paper-2); max-width: 290px; font-size: .9rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line-paper); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.55); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(17,19,21,.4); border-color: rgba(255,107,53,.5); }
.card-img { height: 150px; overflow: hidden; }
.card-img svg { width: 100%; height: 100%; display: block; transition: transform .8s var(--ease); }
.card:hover .card-img svg { transform: scale(1.05); }
.card-body { padding: 0 20px 22px; display: flex; flex-direction: column; flex: 1; }
.square { width: 38px; height: 38px; margin: -19px 0 16px; display: grid; place-items: center; background: var(--dark); color: #fff; border: 2px solid var(--paper); border-radius: 6px; position: relative; }
.square .ico { width: 18px; height: 18px; }
.card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.card p { font-size: .84rem; color: var(--on-paper-2); margin-bottom: 18px; }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--orange-text); }
.text-link .ico { transition: transform .3s var(--ease); }
.card:hover .text-link .ico { transform: translateX(5px); }

/* Produtos */
.products { background: var(--dark); color: var(--on-dark); padding: clamp(52px, 6vw, 76px) 0; overflow: hidden; }
.products-grid { display: grid; grid-template-columns: 1.1fr .95fr 1fr .95fr 1fr; gap: 26px; align-items: center; }
.products .intro { padding: 0; }
.products .intro p, .articles .intro p { color: var(--on-dark-2); font-size: .9rem; }
.products .intro .eyebrow, .articles .intro .eyebrow { color: var(--on-dark); }
.products .intro .btn, .articles .intro .btn { justify-self: start; margin-top: 8px; }
.visual { height: 300px; border-radius: 6px; overflow: hidden; position: relative; transition: transform .5s var(--ease), box-shadow .5s; }
.geo-visual { background: radial-gradient(90% 80% at 50% 40%, #2e2a26, #161718); }
.geo-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(245,243,238,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,238,.06) 1px, transparent 1px); background-size: 22px 22px; }
.soil-block { position: relative; width: 100%; height: 100%; padding: 14px; transition: transform .8s var(--ease); }
.soil-block .bh { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.geo-visual.in .soil-block .bh, .no-io .soil-block .bh { stroke-dashoffset: 0; }
.prod-info { display: grid; gap: 8px; align-content: center; min-width: 0; }
.tag { font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.prod-info h3 { font-size: 1.85rem; }
.prod-info > p:not(.tag) { font-size: .86rem; color: var(--on-dark-2); }
.features { display: grid; gap: 10px; margin: 12px 0 18px; }
.features li { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: #e1e2e2; }
.features .ico { color: var(--orange); width: 18px; height: 18px; }
.prod-info .btn { justify-self: start; }
.book-area { background: linear-gradient(140deg, #34312c 0%, #17181a 70%); display: grid; place-items: center; perspective: 900px; }
.book { position: relative; width: 156px; height: 222px; padding: 24px 16px 18px; display: flex; flex-direction: column; justify-content: space-between; color: #ece4d3; border-radius: 2px 6px 6px 2px; background: linear-gradient(145deg, #2a2c2d, #0a0b0b); box-shadow: inset 5px 0 0 rgba(255,255,255,.05), inset 8px 0 0 rgba(0,0,0,.45), 14px 18px 28px rgba(0,0,0,.6); transform: rotateY(-18deg) rotateZ(-3deg); transition: transform .8s var(--ease); }
.book::after { content: ""; position: absolute; top: 3px; bottom: 3px; right: -9px; width: 10px; background: repeating-linear-gradient(0deg, #d6d1c5 0 1px, #efece4 1px 3px); transform: skewY(-30deg); transform-origin: left; border-radius: 0 2px 2px 0; }
.book-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.book strong { position: relative; font: 400 1.15rem/1.05 var(--serif); text-transform: uppercase; letter-spacing: .05em; }
.book small { position: relative; font: 500 7px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #a9a59c; }
.book-area:hover .book, .book-area.focus .book { transform: rotateY(-6deg) rotateZ(-1deg) translateY(-6px); }
.geo-visual:hover .soil-block, .geo-visual.focus .soil-block { transform: scale(1.04) rotate(-1deg); }
.visual.focus { box-shadow: 0 0 0 2px var(--orange); }

/* Status e lançamento nos produtos e áreas */
.status-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: var(--orange); color: var(--dark); font: 700 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.status-badge.muted { background: rgba(245,243,238,.9); }
.card-img { position: relative; }
.card.is-soon .card-img svg { filter: grayscale(.45); opacity: .85; }
.card.is-soon .text-link { color: var(--on-paper-2); }
.launch-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.3); font-size: .82rem; color: var(--on-dark); }
.launch-line .ico { color: var(--orange); margin-top: 2px; }
.launch-line.muted { background: rgba(245,243,238,.05); border-color: var(--line-dark); }
.mini-cd { display: block; margin-top: 3px; font: 500 .82rem/1.2 var(--mono); color: var(--orange); font-variant-numeric: tabular-nums; }
.plan-visual { background: radial-gradient(90% 80% at 50% 40%, #232629, #141516); display: grid; place-items: center; }
.gantt { width: 92%; height: auto; }
.products-grid.many .visual { height: 260px; }
.article-ph { display: block; height: 140px; background: repeating-linear-gradient(135deg, #1f2123 0 10px, #232527 10px 20px); }
.article img:not([src]) { background: #1f2123; }
.credit { margin-left: 14px; }
.credit b { font-weight: 600; color: #b3b5b5; }
.credit a { color: #b3b5b5; text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: var(--orange); }
.admin-link { margin-left: 14px; color: #6d7172; }
.admin-link:hover { color: var(--on-dark); }

/* Sobre */
.about { position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr .6fr; min-height: 380px; align-items: stretch; }
.about-copy { padding: 52px 32px 52px 0; align-self: center; display: grid; gap: 16px; }
.about-copy h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); }
.about-copy p:not(.eyebrow) { color: var(--on-paper-2); max-width: 470px; font-size: .92rem; }
.about-copy .btn { justify-self: start; margin-top: 6px; }
.about-photo { position: relative; margin: 0; min-height: 380px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper), transparent 30%, transparent 80%, var(--paper)); }
.points { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-left: 28px; }
.points li { display: flex; align-items: center; gap: 14px; font-size: .88rem; line-height: 1.35; color: var(--on-paper); }
.points .ico { width: 28px; height: 28px; }

/* Conteúdos */
.articles { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 6vw, 68px) 0; }
.articles-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 3fr) auto; gap: 16px; align-items: center; }
.articles .intro { padding: 0; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-width: 0; }
.track::-webkit-scrollbar { display: none; }
.article { scroll-snap-align: start; }
.article a { display: flex; flex-direction: column; height: 100%; background: var(--dark-2); border-radius: 6px; overflow: hidden; transition: transform .4s var(--ease), background-color .3s; }
.article a:hover { background: var(--dark-3); }
.article img { width: 100%; height: 140px; object-fit: cover; object-position: 50% 25%; opacity: .88; filter: grayscale(.15); transition: opacity .3s, filter .3s; }
.article a:hover img { opacity: 1; filter: none; }
.article-body { padding: 14px 14px 18px; display: grid; gap: 6px; }
.article h3 { font: 600 .92rem/1.35 var(--sans); letter-spacing: 0; }
.controls { display: flex; gap: 8px; }
.controls button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245,243,238,.5); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s, opacity .25s; }
.controls button:hover:not(:disabled) { background: #fff; color: var(--dark); }
.controls button:disabled { opacity: .3; cursor: default; }

/* Rodapé */
.site-footer { background: #0b0c0d; color: var(--on-dark); padding: 30px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand strong { font-size: 1.8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .76rem; color: #cfd0d0; }
.footer-links a:hover { color: var(--orange); }
.footer-right { display: flex; align-items: center; gap: 18px; padding-left: 18px; border-left: 1px solid #2c2e30; }
.social { display: flex; gap: 8px; }
.social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #4a4d4f; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-right .btn { color: var(--on-dark); }
.footer-right .btn:hover { color: var(--dark); }
.bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #262829; font-size: .72rem; color: #8b8e8f; }
.bottom a:hover { color: var(--on-dark); }

/* Consentimento */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 540px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; background: var(--dark-2); color: var(--on-dark-2); border: 1px solid var(--line-dark); border-radius: 12px; font-size: .84rem; }
.consent p { flex: 1 1 240px; }
.consent div { display: flex; gap: 8px; }

/* Entrada suave ao rolar (conteúdo sempre visível) */
.js .rv { transform: translateY(22px); transition: transform 1s var(--ease); }
.js .rv.in { transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .links { gap: 14px; } .links a { font-size: .72rem; }
  .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas .intro { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: end; padding: 0 0 8px; }
  .products-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .products .intro, .articles .intro { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 32px; }
  .products .intro .eyebrow, .products .intro h2, .articles .intro .eyebrow, .articles .intro h2 { grid-column: 1; }
  .products .intro > p:not(.eyebrow), .products .intro .btn, .articles .intro > p:not(.eyebrow), .articles .intro .btn { grid-column: 2; }
  .products .intro h2, .articles .intro h2 { grid-row: 2 / span 2; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .points { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; padding: 26px 0 40px; }
  .articles-grid { grid-template-columns: minmax(0, 1fr); }
  .controls { justify-content: flex-end; }
  .footer-main { flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); border-top: 1px solid var(--line-dark); padding: 10px 28px 26px; flex-direction: column; gap: 0; height: calc(100dvh - 64px); overflow-y: auto; }
  .links.open { display: flex; }
  .links a { font: 400 1.7rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
  .links a::after { display: none; }
  .links.open a { animation: up .45s var(--ease) both; }
  .nav-cta { display: none; }
  .menu { display: block; }
  .nav, .scrolled .nav { height: 64px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { height: auto; min-height: 680px; align-items: flex-end; padding: 120px 0 84px; }
  .hero-terrain { width: 100%; top: 40px; bottom: auto; height: 420px; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .terrain-labels { display: none; }
  .hero-wrap { padding-top: 0; grid-template-columns: minmax(0, 1fr); }
  .launch { display: none; }
  .launch-chip { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-bottom: 22px; padding: 9px 14px 9px 12px; border-radius: 999px;
    background: rgba(20,21,23,.8); border: 1px solid rgba(255,107,53,.45); font-size: .78rem; line-height: 1.3; color: var(--on-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .launch-chip[hidden] { display: none; }
  .launch-chip b { color: var(--orange); font-weight: 700; }
  .launch-chip .chip-cd { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .launch-chip .ico { width: 14px; height: 14px; color: var(--orange); }
  h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .areas-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .areas .intro { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 0 6px; }
  .card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .card-img { height: 100%; min-height: 190px; }
  .card-body { padding: 16px; }
  .square { margin: 0 0 10px; }
  .card h3 { font-size: 1.35rem; }
  .products-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .products .intro, .articles .intro { display: grid; grid-template-columns: minmax(0, 1fr); }
  .products .intro > *, .articles .intro > * { grid-column: auto !important; grid-row: auto !important; }
  .visual { height: 230px; }
  .prod-info h3 { font-size: 1.5rem; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-copy { padding: 44px 0 26px; }
  .about-photo { min-height: 380px; margin: 0 -18px; }
  .about-photo::after { background: linear-gradient(0deg, var(--paper), transparent 35%), linear-gradient(180deg, var(--paper), transparent 18%); }
  .points { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 0 44px; }
  .track { grid-auto-columns: 72%; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-right { padding-left: 0; border-left: 0; }
  .bottom { flex-direction: column; }
  .credit { margin-left: 0; }
}
@media (max-width: 460px) {
  .card { grid-template-columns: minmax(0, 1fr); }
  .card-img { height: 150px; min-height: 0; }
  .card-body { padding: 0 18px 20px; }
  .square { margin: -19px 0 14px; }
  .products-grid { grid-template-columns: minmax(0, 1fr); }
  .visual { height: 250px; }
  .prod-info { padding-bottom: 10px; }
  .track { grid-auto-columns: 84%; }
}
@media (hover: none) { .card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .rv { transform: none; }
  .soil-block .bh { stroke-dashoffset: 0; }
}


/* ---------- Rodapé: links legais ---------- */
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-nav a { color: #a9abab; }
.legal-nav a:hover { color: var(--on-dark); }

/* ---------- Aviso de cookies ---------- */
.cookie-bar { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin-inline: auto;
  background: var(--dark-2); color: var(--on-dark-2); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.85); font-size: .86rem; }
.cookie-main { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 18px; }
.cookie-main p { flex: 1 1 320px; line-height: 1.5; }
.cookie-main b { color: var(--on-dark); }
.cookie-bar a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-bar .btn-white { color: var(--on-dark); }
.cookie-bar .btn-white:hover { color: var(--dark); }
.cookie-bar.expanded .cookie-main .cookie-actions { display: none; }
.cookie-panel { display: grid; gap: 14px; padding: 0 18px 18px; }
.cookie-panel fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.cookie-panel legend { padding: 0 0 8px; font-weight: 700; color: var(--on-dark); }
.ck-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(245,243,238,.05); border: 1px solid rgba(245,243,238,.08); cursor: pointer; }
.ck-row span { display: grid; gap: 2px; }
.ck-row b { color: var(--on-dark); font-weight: 600; }
.ck-row small { font-size: .78rem; color: var(--on-dark-2); }
.ck-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-row i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #4a4d4f; transition: background-color .2s; }
.ck-row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ck-row input:checked + i { background: var(--orange); }
.ck-row input:checked + i::after { transform: translateX(18px); }
.ck-row input:disabled + i { opacity: .55; }
.ck-row input:focus-visible + i { outline: 2px solid var(--orange); outline-offset: 2px; }
.cookie-panel .cookie-actions { justify-content: flex-end; }

/* ---------- Páginas legais ---------- */
.legal-page { background: var(--paper); }
.legal-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--dark); color: var(--on-dark); }
.legal-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header .back { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--on-dark-2); }
.legal-header .back:hover { color: var(--orange); }
.legal-hero { background: var(--dark); color: var(--on-dark); padding: 40px 0 48px; border-top: 1px solid var(--line-dark); }
.legal-hero .eyebrow { color: var(--on-dark); }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal-hero p { margin-top: 14px; color: var(--on-dark-2); max-width: 62ch; }
.legal-hero .updated { margin-top: 18px; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(245,243,238,.25); font-size: .8rem; font-weight: 600; color: var(--on-dark-2); }
.legal-tabs a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--dark); }
.legal-tabs a:not([aria-current]):hover { border-color: var(--on-dark); color: var(--on-dark); }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 48px 80px; align-items: start; }
.toc { position: sticky; top: 88px; display: grid; gap: 2px; font-size: .82rem; }
.toc p { font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-paper-2); margin-bottom: 10px; }
.toc a { padding: 6px 0 6px 12px; border-left: 2px solid var(--line-paper); color: var(--on-paper-2); }
.toc a:hover { color: var(--on-paper); }
.toc a.active { border-left-color: var(--orange); color: var(--on-paper); font-weight: 600; }
.legal-text { max-width: 72ch; color: #2b2f31; font-size: .98rem; line-height: 1.7; }
.legal-text section { scroll-margin-top: 90px; padding-bottom: 8px; }
.legal-text h2 { font-size: 1.9rem; margin: 40px 0 14px; color: var(--on-paper); }
.legal-text section:first-child h2 { margin-top: 0; }
.legal-text h3 { font: 700 1rem/1.4 var(--sans); margin: 22px 0 6px; color: var(--on-paper); letter-spacing: 0; }
.legal-text p, .legal-text ul, .legal-text ol { margin: 0 0 14px; }
.legal-text ul, .legal-text ol { padding-left: 22px; list-style: revert; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-text strong { color: var(--on-paper); }
.legal-text .note { padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line-paper); font-size: .9rem; }
.legal-text .btn { color: var(--dark); }
.table-wrap { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--line-paper); border-radius: 10px; background: #fff; }
.legal-text table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .86rem; line-height: 1.5; }
.legal-text th, .legal-text td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-paper); }
.legal-text th { font-weight: 700; background: #FAF9F6; color: var(--on-paper); }
.legal-text tr:last-child td { border-bottom: 0; }
.legal-text code { font: 500 .84em var(--mono); background: rgba(17,19,21,.06); padding: 1px 5px; border-radius: 4px; }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; font: 700 .68rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status.on { background: #E7F3EC; color: #2F7D4F; }
.status.off { background: #ECEBE7; color: var(--on-paper-2); }
mark.todo { background: #FFE1D4; color: #8A2E0E; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.legal-footer { background: #0b0c0d; color: var(--on-dark-2); padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .76rem; }
.legal-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

@media (max-width: 860px) {
  .legal-body { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .toc { position: static; padding: 16px; background: #fff; border: 1px solid var(--line-paper); border-radius: 12px; }
}
@media (max-width: 760px) {
  .cookie-main { padding: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .legal-nav { gap: 6px 14px; }
}
