/* ==========================================================================
   Carltech — estilos
   Paleta extraída do logo: navy #0a1f4a · azul #0b5ea8 · verde-água #00b19b
   ========================================================================== */

:root {
  --navy: #0a1f4a;
  --navy-900: #061433;
  --navy-700: #13306a;
  --blue: #0b5ea8;
  --blue-300: #5b9be0;
  --teal: #00b19b;
  --teal-300: #4fd8c4;

  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #0a1f4a;
  --ink-2: #44557a;
  --ink-3: #7584a3;
  --line: rgba(10, 31, 74, 0.1);

  --grad: linear-gradient(110deg, var(--blue) 0%, var(--teal) 100%);
  --shadow-sm: 0 2px 6px rgba(10, 31, 74, 0.06);
  --shadow: 0 20px 50px -20px rgba(10, 31, 74, 0.25);
  --shadow-lg: 0 40px 80px -30px rgba(10, 31, 74, 0.35);

  --radius: 20px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
  --nav-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}

/* ---------- Botões ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 12px 24px -10px rgba(10, 31, 74, .6), inset 0 -3px 0 rgba(0, 177, 155, .9);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(10, 31, 74, .7), inset 0 -3px 0 var(--teal); }
.btn--ghost { border-color: rgba(10, 31, 74, .2); color: var(--navy); background: rgba(255, 255, 255, .6); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__mark .m-c { fill: var(--navy); }
.brand__mark .m-b { fill: var(--blue); }
.brand__mark .m-t { fill: var(--teal); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--navy); }
.brand__name b { color: var(--teal); font-weight: 800; }
.brand__tag { font-family: var(--font-head); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--navy); margin-top: 4px; opacity: .8; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 31, 74, .3);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.nav__links a:not(.btn) { position: relative; color: var(--ink-2); transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--navy); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 860px); min-height: min(100svh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 600px at 85% 30%, rgba(0, 177, 155, .16), transparent 60%),
    radial-gradient(800px 600px at 60% 90%, rgba(11, 94, 168, .14), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}
.hero::before { /* grade em perspectiva */
  content: ""; position: absolute; inset: auto -20% -10% -20%; height: 55%; z-index: -2;
  background-image:
    linear-gradient(rgba(10, 31, 74, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 74, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(244, 247, 251, .85) 32%, transparent 60%); }
.hero__content { position: relative; max-width: var(--container); }
.hero__content > * { max-width: 620px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.4rem; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero__pills li {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--navy);
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__pills li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.hero__pills li:nth-child(2)::before { background: var(--blue); }
.hero__pills li:nth-child(3)::before { background: var(--navy); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(10, 31, 74, .3); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 56px; }

/* Quem somos */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.about__tags li { font-size: .9rem; font-weight: 600; color: var(--navy); padding: 10px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }

/* Cubo CSS 3D */
.about__visual { display: grid; place-items: center; min-height: 420px; }
.cube-scene { --s: 220px; width: var(--s); height: var(--s); perspective: 1000px; position: relative; }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 18s linear infinite; }
.cube__face {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 26px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, .15);
  backface-visibility: visible;
}
.cube__face span { padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(2px); }
.f1 { background: linear-gradient(135deg, var(--navy), var(--navy-700)); transform: translateZ(calc(var(--s) / 2)); }
.f2 { background: linear-gradient(135deg, var(--teal), #00907e); transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f3 { background: linear-gradient(135deg, var(--blue), #084a86); transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f4 { background: linear-gradient(135deg, var(--navy-700), var(--blue)); transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.f5 { background: linear-gradient(135deg, var(--teal), var(--blue)); transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.f6 { background: linear-gradient(135deg, var(--navy), var(--teal)); transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube-shadow { position: absolute; left: 10%; right: 10%; bottom: -110px; height: 40px; border-radius: 50%; background: radial-gradient(rgba(10, 31, 74, .35), transparent 70%); filter: blur(8px); animation: shadow 6s ease-in-out infinite; }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
@keyframes shadow { 50% { transform: scale(.85); opacity: .7; } }
.cube-scene { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }

/* Soluções */
.solutions { background: linear-gradient(180deg, var(--bg), #eef3f9); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1400px; }
.card {
  position: relative; padding: 36px 32px 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.card::before { /* borda gradiente ao passar o mouse */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { transform: translateZ(30px); }
.card--featured { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); border-color: transparent; box-shadow: var(--shadow-lg); }
.card--featured h3 { color: #fff; }
.card--featured p, .card--featured .checklist li { color: rgba(255, 255, 255, .78); }
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  box-shadow: 0 14px 24px -10px rgba(0, 177, 155, .7), inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -4px 0 rgba(0, 0, 0, .15);
  transform: translateZ(60px) rotateX(10deg) rotateY(-10deg);
}
.card__icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(0, 177, 155, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b19b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Diferenciais (seção escura) */
.why { background: var(--navy-900); color: #fff; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 0%, rgba(0, 177, 155, .22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(11, 94, 168, .35), transparent 60%);
}
.why h2 { color: #fff; }
.why .container { position: relative; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1200px; }
.feature {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
  transition: background .3s, border-color .3s;
}
.feature:hover { border-color: rgba(0, 177, 155, .5); background: linear-gradient(160deg, rgba(0, 177, 155, .14), rgba(255, 255, 255, .02)); }
.feature > * { transform: translateZ(24px); }
.feature h3 { color: #fff; }
.feature p { color: rgba(255, 255, 255, .7); font-size: .96rem; margin: 0; }
.feature__num {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: 22px;
  background: linear-gradient(180deg, var(--teal-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Mercado */
.market { background: var(--surface); }
.market__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.segments { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segments li {
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg);
  display: flex; flex-direction: column; gap: 2px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.segments li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 177, 155, .4); }
.segments span { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.segments small { color: var(--ink-3); font-size: .85rem; }
.market__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.market__visual::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(rgba(0, 177, 155, .18), transparent 70%); filter: blur(30px); }
#globe-canvas { position: relative; width: 100%; height: 100%; cursor: grab; }
#globe-canvas:active { cursor: grabbing; }

/* Missão */
.mission { padding-top: 0; background: var(--surface); }
.mission__box {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 90px); border-radius: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 60%, #08305a 100%);
  box-shadow: var(--shadow-lg);
}
.mission__box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='%23ffffff'%3E%3Cpath d='M91.5 14.9A55 55 0 1 0 91.5 105.1L68.9 84.4A26 26 0 1 1 68.9 35.6Z'/%3E%3Crect x='48' y='49' width='24' height='22' rx='5'/%3E%3Crect x='72' y='27' width='22' height='22' rx='5'/%3E%3Crect x='72' y='71' width='22' height='22' rx='5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-12deg);
}
.mission blockquote { position: relative; margin: 0; max-width: 900px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.3; color: #fff; letter-spacing: -0.01em; }
.mission .grad { background: linear-gradient(110deg, var(--teal-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; }

/* Contato */
.contact { background: linear-gradient(180deg, var(--bg), #e9f0f8); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.contact__list small { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a { font-weight: 600; color: var(--navy); word-break: break-word; }
.contact__list a:hover { color: var(--teal); }
.contact__ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--teal), var(--blue)); }
.contact__ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* Cartão de contato */
.cta-card { padding: clamp(28px, 4vw, 44px); background: var(--surface); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 14px; justify-items: start; }
.cta-card h3 { font-size: 1.4rem; margin: 6px 0 0; }
.cta-card p { margin: 0; }
.cta-card__email { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: var(--navy) !important; word-break: break-all; padding: 14px 18px; border-radius: 14px; background: var(--bg); border: 1px dashed rgba(0, 177, 155, .5); width: 100%; user-select: all; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cta-card__status { min-height: 1.4em; font-size: .9rem; font-weight: 600; color: var(--teal) !important; }
@media (max-width: 560px) { .cta-card__actions .btn { flex: 1 1 100%; } }

/* Rodapé */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer .brand__mark .m-c { fill: #fff; }
.footer .brand__name, .footer .brand__tag { color: #fff; }
.footer p { margin: 0; color: inherit; font-size: .9rem; }
.footer__tag { font-family: var(--font-head); font-weight: 600; color: #fff !important; }
.footer__legal { flex-basis: 100%; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem !important; color: rgba(255, 255, 255, .55) !important; }

/* ---------- Animações de entrada ---------- */
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .8s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.tilt.is-visible { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.is-tilting { transition: transform .1s linear, opacity .8s, box-shadow .3s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .8); cursor: pointer;
  }
  .nav__toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 12px 10px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 8px; }
  .nav { background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  /* no celular a cena 3D ganha um bloco próprio acima do texto */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 64px; }
  #hero-canvas { position: relative; inset: auto; width: 100%; height: clamp(260px, 78vw, 400px); flex: none; margin-bottom: 8px; }
  .hero__glow { display: none; }
  .hero__scroll { display: none; }
  .about__grid, .market__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { min-height: 340px; order: 2; }
  .cube-scene { --s: 170px; }
  .market__visual { max-width: 440px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.3rem; }
  .features, .segments { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

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