/* A camada visual preserva a estrutura responsiva e as etapas independentes. */
:root {
  --cyan: #0de2ff;
  --muted: #d0def4;
  --line: rgba(0, 185, 255, .45);
  --gutter: clamp(20px, 4vw, 120px);
}
.site-header { background: rgba(2, 14, 44, .92); border-bottom-color: #159aff40; box-shadow: 0 4px 28px #0069ff18; }
.brand strong { text-shadow: 0 0 22px #03cbff55; }
.button-primary { background: linear-gradient(180deg, #2eeeff, #00bbff); border: 1px solid #77f5ff; box-shadow: 0 0 18px #00c4ff70, 0 0 45px #006aff30, inset 0 2px 8px #c2ffff65; }
.button-primary:hover { background: linear-gradient(180deg, #78f5ff, #16cfff); box-shadow: 0 0 28px #00d5ffaa, 0 0 55px #008cff55; }
.button-outline, .button-video { border-color: #00c5ff; background: linear-gradient(180deg, #073466a6, #001331d9); box-shadow: 0 0 15px #00aeff45, inset 0 0 15px #005dff26; }
.button-video svg { filter: drop-shadow(0 0 7px #00ddff99); }
h1, h2 { text-shadow: 0 3px 15px #0008; }
h1 span, h2 span { color: #07dafa; }
h1 span { text-shadow: none; }
.green { color: #08efa8; --neon: #08efa8; }.pink { color: #ff35b6; --neon: #ff35b6; }.purple { color: #b36aff; --neon: #b36aff; }.orange { color: #ffbc28; --neon: #ffbc28; }.blue { color: #17bfff; --neon: #17bfff; }.cyan { --neon: #0de2ff; }
@supports (background-clip: text) {
  h1 span { background: linear-gradient(110deg, #05f4da, #00b9ff); background-clip: text; color: transparent; }
}
.hero { display: flex; flex-direction: column; min-height: auto; align-items: stretch; gap: 28px; padding-top: 42px; padding-bottom: 40px; isolation: isolate; background: radial-gradient(ellipse at 50% 70%, #0052af8a, transparent 65%), #020e2b; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, #00112b22, #00152b00 65%, #00143733), url('assets/connected-blue.png') center / cover no-repeat; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 16% 0 0; pointer-events: none; background: radial-gradient(ellipse at 50% 70%, transparent 0 40%, #00bbff22 40.2%, transparent 40.6%), radial-gradient(ellipse at 50% 70%, transparent 0 57%, #008aff22 57.2%, transparent 57.6%); }
.hero-copy { text-align: center; position: relative; z-index: 2; }
.hero .eyebrow { font-size: 10px; letter-spacing: 2px; color: #d4ecff; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.3vw, 76px); line-height: 1.08; margin-bottom: 20px; }
.hero-subtitle { max-width: 680px; margin: 0 auto 24px; color: #edf4ff; }
.hero-actions { justify-content: center; }
.hero-highlights { justify-content: center; margin-top: 22px; }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; z-index: 1; align-items: center; }
.hero-scene { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; gap: 24px; align-items: center; min-width: 0; }
.hero-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; display: none; }
.hero-connections path { fill: none; stroke-width: 1.6; opacity: .85; }
.hero-connections g { filter: drop-shadow(0 0 5px currentColor); }
.hero-visual { padding: 8px 0 0; background: radial-gradient(ellipse at 50% 100%, #0099ff70, transparent 70%); grid-row: 1; }
.hero-visual { --platform-height: clamp(38px, 7vw, 84px); position: relative; isolation: isolate; z-index: 1; padding-bottom: var(--platform-height); }
.hero-visual::before { display: none; }
.product-orbit { position: absolute; width: 110%; height: calc(100% - var(--platform-height) + 28px); left: -5%; top: -24px; z-index: -1; overflow: visible; pointer-events: none; }
.orbit-main { fill: none; stroke: #05daff; stroke-width: 1.5; filter: drop-shadow(0 0 5px #00aaff); }
.orbit-secondary { fill: none; stroke: #1688ff99; stroke-width: 1; }
.orbit-lights { fill: #2bf3ff; stroke: #d5ffff; stroke-width: 1; filter: drop-shadow(0 0 8px #00cfff); }
.hero-platform { position: absolute; bottom: 0; left: 0; width: 100%; height: calc(var(--platform-height) + 22px); z-index: 0; filter: drop-shadow(0 6px 18px #0085ff80); pointer-events: none; }
.hero-platform > svg { width: 100%; height: 100%; overflow: visible; }
.platform-rim { filter: drop-shadow(0 0 5px #04cfff); }
.hero-platform > span { position: absolute; left: 0; top: 42%; width: 100%; text-align: center; color: #e8faff; font-size: clamp(6px, .8vw, 12px); font-weight: 500; letter-spacing: clamp(1px, .2vw, 4px); line-height: 1.6; text-shadow: 0 0 10px #44bcff; }
.hero-devices { width: 100%; max-width: 960px; margin-inline: auto; z-index: 2; filter: drop-shadow(0 0 12px #0aaaff75) drop-shadow(0 20px 32px #0008); }
.hero-features { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-features.right { margin-top: -14px; }
.hero-feature { display: flex; align-items: center; min-width: 0; gap: 9px; padding: 10px; border: 1px solid currentColor; border-radius: 14px; background: linear-gradient(100deg, #061b41ed, #001032d9); box-shadow: 0 0 15px color-mix(in srgb, currentColor 18%, transparent), inset 0 0 20px #0088ff0d; }
.hero-feature > span:last-child { min-width: 0; overflow-wrap: anywhere; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.35; }
.feature-orbit { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: #fff; border-radius: 50%; border: 2px solid #ffffffdc; background: radial-gradient(circle at 35% 20%, #ffffff35, transparent 50%), radial-gradient(circle, var(--neon) 35%, color-mix(in srgb, var(--neon) 72%, #00292a) 80%); box-shadow: 0 0 20px color-mix(in srgb, var(--neon) 75%, transparent), inset 0 0 10px #ffffff50; }
.feature-orbit::before { content: ""; position: absolute; inset: -8px; border: 4px solid var(--neon); border-radius: 50%; box-shadow: 0 0 0 3px #021535, 0 0 20px var(--neon); }
.feature-orbit::after { content: ""; position: absolute; right: 0; top: -5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.feature-orbit svg { font-size: 24px; stroke-width: 2.2; filter: drop-shadow(0 0 2px #ffffff80); }
.hero-feature.green { --neon: #00ff85; }.hero-feature.purple { --neon: #b225ff; }.hero-feature.pink { --neon: #ff25a7; }.hero-feature.orange { --neon: #ffb400; }
.hero-next { align-self: center; justify-content: center; color: #c9e7ff; text-shadow: 0 0 10px #0099ff; }
.section-heading { text-align: center; max-width: none; }
.section-heading > p:last-child:not(.eyebrow) { margin-inline: auto; }
.benefits, .resources, .comparison, .how, .white-label, .testimonials, .final-cta { position: relative; isolation: isolate; border-top: 1px solid #008fff45; }
.benefits { background: radial-gradient(ellipse at 50% 0, #004aa15e, transparent 72%), linear-gradient(180deg, #031b48, #020f2c); }
.benefits::before, .how::before, .final-cta::before { content: ""; position: absolute; z-index: -1; width: 100%; height: 90px; top: 0; left: 0; border-top: 1px solid #12b9ff99; border-radius: 50% 50% 0 0 / 80% 80% 0 0; background: linear-gradient(180deg, #008bff16, transparent); box-shadow: 0 -6px 22px #008fff26; pointer-events: none; }
.benefit-card { --accent: #16c8ff; background: linear-gradient(140deg, #083774bd, #02102edd); border-color: #07b7ffbb; border-radius: 14px; box-shadow: inset 0 0 28px #008aff12, 0 8px 32px #00102850; text-align: center; }
.benefit-card:has(.purple) { --accent: #b16dff; border-color: #ac56ff; background: linear-gradient(140deg, #251456aa, #060f30ee); }
.benefit-card .card-icon { margin-inline: auto; }
.card-icon { border: none; background: transparent; border-radius: 50%; width: 60px; height: 60px; font-size: 38px; filter: drop-shadow(0 0 10px currentColor); }
.card-icon svg { filter: drop-shadow(0 0 4px currentColor); }
.resources { background: radial-gradient(ellipse at 0 50%, #00419370, transparent 60%), #020e29; }
.resource-grid { border-top: 0; gap: 16px; }
.resource-grid article { padding: 24px; border: 1px solid #0aaaff66; border-radius: 16px; background: linear-gradient(135deg, #082b5bab, #031431e6); display: grid; align-content: start; }
.resource-grid .card-icon { width: 52px; height: 52px; border: 1px solid currentColor; background: #001b3e99; font-size: 29px; box-shadow: inset 0 0 14px color-mix(in srgb, currentColor 20%, transparent); filter: drop-shadow(0 0 8px color-mix(in srgb, currentColor 45%, transparent)); }
.comparison { background: radial-gradient(ellipse at 50% 100%, #006cb34d, transparent 70%), #031430; }
.comparison-direction { display: flex; align-items: center; justify-content: center; gap: 24px; color: var(--cyan); text-shadow: 0 0 10px #00beff99; font-size: 22px; font-weight: 600; font-style: italic; line-height: 1.3; text-align: center; }
.comparison-direction svg { width: 64px; height: 40px; filter: drop-shadow(0 0 8px #00cbff); }
.compare-panel { background: linear-gradient(145deg, #062557dd, #010e29ed); box-shadow: inset 0 0 30px #006bff10, 0 12px 32px #0004; }
.compare-bad { border-color: #ff419baa; box-shadow: 0 0 26px #fb23801c, inset 0 0 30px #ff2c670d; }
.compare-good { border-color: #03c9ffcc; box-shadow: 0 0 26px #00c5ff24, inset 0 0 30px #00c5ff12; }
.compare-panel li::before { box-shadow: 0 0 9px color-mix(in srgb, currentColor 35%, transparent); }
.how { background: linear-gradient(180deg, #031538, #020d28); }
.step { background: radial-gradient(ellipse at 100% 50%, #0064bd29, transparent 75%), linear-gradient(120deg, #062353dd, #02102fed); border-color: color-mix(in srgb, currentColor 50%, #007bff); box-shadow: 0 0 20px color-mix(in srgb, currentColor 7%, transparent), inset 0 0 32px #0084ff0b; }
.step-number { display: grid; place-items: center; width: 70px; height: 70px; font-size: 32px; border-radius: 50%; border: 2px solid currentColor; opacity: 1; background: radial-gradient(circle, color-mix(in srgb, currentColor 17%, #021333), #02102b); box-shadow: 0 0 16px color-mix(in srgb, currentColor 50%, transparent), inset 0 0 12px color-mix(in srgb, currentColor 30%, transparent); text-shadow: 0 0 10px currentColor; padding: 0; }
.step-illustration svg { filter: drop-shadow(0 0 10px currentColor); }
.white-label { background: radial-gradient(ellipse at 80% 50%, #006dcc66, transparent 70%), linear-gradient(130deg, #021430, #05214b); }
.white-visual { background: radial-gradient(ellipse at center, #07469299, #00122fe6); border-color: #0ba9ff99; box-shadow: 0 0 35px #007bff22, inset 0 0 50px #004fff12; }
.white-visual img { filter: drop-shadow(0 0 18px #008fff55); }
.visual-label { border-color: #08c5ff88; box-shadow: 0 0 16px #00a5ff1a; }
.testimonials { background: linear-gradient(180deg, #031a42, #020f2c); }
.testimonial-grid figure { background: linear-gradient(140deg, #072b5bbd, #02132de6); border-color: #00a9ff99; box-shadow: 0 12px 32px #0003, inset 0 0 28px #006bff12; }
figcaption img { border: 1px solid #23c5ff; box-shadow: 0 0 10px #00aaff45; }
.stars { text-shadow: 0 0 12px #ffc62b66; }
.final-cta { background: radial-gradient(ellipse at 50% 100%, #0068cd77, transparent 75%), linear-gradient(180deg, #042552, #021334); }
.cta-proofs svg { filter: drop-shadow(0 0 7px #00bfff55); }
.footer { background: #010d27; border-top-color: #03acff77; }
@media (max-width: 759px) {
  /* Duas faixas preservam as bordas luminosas sem ampliar o fundo no celular. */
  .hero::before { background: linear-gradient(180deg, #020d2733, #020d27 200px, #020d27 calc(100% - 240px), #020d2755), url('assets/connected-blue.png') center top / 100% auto no-repeat, url('assets/connected-blue.png') center bottom / 100% auto no-repeat; }
}
@media (min-width: 540px) {
  .hero-features { gap: 14px; }
  .hero-feature { padding: 12px 16px; }
  .hero-feature > span:last-child { font-size: 13px; }
  .feature-orbit { width: 44px; height: 44px; flex-basis: 44px; }
  .feature-orbit svg { font-size: 25px; }
}
@media (min-width: 760px) {
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 2.8px; }
  .hero-scene { grid-template-columns: minmax(145px, 1fr) minmax(0, 3.5fr) minmax(145px, 1fr); gap: 20px; }
  .hero-connections { display: block; }
  .hero-visual { grid-column: 2; grid-row: 1; padding-top: 20px; }
  .hero-features { display: flex; flex-direction: column; gap: 16px; }
  .hero-features.left { grid-column: 1; grid-row: 1; }
  .hero-features.right { grid-column: 3; grid-row: 1; margin-top: 0; }
  .hero-feature { padding: 8px; border-radius: 999px; gap: 8px; }
  .hero-feature > span:last-child { font-size: 11px; }
  .feature-orbit { width: 36px; height: 36px; flex-basis: 36px; }
  .feature-orbit svg { font-size: 21px; }
  .comparison-grid { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .comparison-direction { flex-direction: column; font-size: 19px; }
  .step-number { width: 80px; height: 80px; font-size: 38px; }
}
@media (min-width: 1080px) {
  .hero { min-height: auto; }
  .hero-feature { padding: 10px; gap: 12px; }
  .hero-feature > span:last-child { font-size: 13px; }
  .feature-orbit { width: 46px; height: 46px; flex-basis: 46px; }
  .feature-orbit svg { font-size: 26px; }
  .hero-scene { gap: 24px; }
  .comparison-grid { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); gap: 28px; }
  .comparison-direction { font-size: 23px; }
}
@media (min-width: 1440px) {
  .hero-feature { padding: 10px 16px 10px 10px; }
  .hero-feature > span:last-child { font-size: 15px; }
  .feature-orbit { width: 54px; height: 54px; flex-basis: 54px; }
  .feature-orbit svg { font-size: 30px; }
  .hero-scene { grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr) minmax(0, 1fr); gap: 36px; }
}

/* A abertura considera a altura útil; as demais seções continuam com rolagem natural. */
@media (min-width: 960px) and (min-height: 500px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: calc(100svh - var(--header-height));
    min-height: 0;
    padding-top: clamp(14px, 2.4svh, 28px);
    padding-bottom: clamp(12px, 2svh, 24px);
    gap: clamp(10px, 1.6svh, 20px);
  }
  .hero .eyebrow { margin-bottom: 8px; font-size: 10px; line-height: 1.6; }
  .hero h1 { font-size: clamp(32px, min(4vw, 6svh), 68px); line-height: 1.06; margin-bottom: 12px; }
  .hero-subtitle { font-size: clamp(14px, 1.8svh, 18px); line-height: 1.5; margin-bottom: 14px; max-width: 720px; }
  .hero .button { min-height: 44px; padding-top: 10px; padding-bottom: 10px; font-size: 13px; }
  .hero-highlights { margin-top: 12px; font-size: 11px; }
  .hero-stage { height: 100%; min-height: 0; container-type: size; }
  /* A largura dos aparelhos acompanha a altura disponível e aproxima os cards. */
  .hero-scene { --feature-width: clamp(170px, 17vw, 240px); --scene-gap: clamp(12px, 1vw, 20px); height: 100%; min-height: 0; width: min(100%, calc((100cqh - clamp(38px, 16cqh, 86px)) * 1.818 + 2 * var(--feature-width) + 2 * var(--scene-gap))); grid-template-columns: var(--feature-width) minmax(0, 1fr) var(--feature-width); grid-template-rows: minmax(0, 1fr); gap: var(--scene-gap); justify-self: center; }
  .hero-visual { --platform-height: clamp(38px, 16cqh, 86px); height: 100%; min-height: 0; padding: 0; }
  .hero-devices { width: 100%; height: calc(100% - var(--platform-height)); min-height: 0; margin-bottom: var(--platform-height); max-height: 100%; object-fit: contain; object-position: center bottom; z-index: 2; }
  .hero-features { height: 100%; max-height: 350px; min-height: 0; justify-content: center; gap: clamp(18px, 3svh, 30px); }
  .hero-feature { flex: 1; min-height: 0; max-height: clamp(38px, 6.3svh, 56px); padding: clamp(5px, .8svh, 9px); gap: 14px; }
  .hero-feature > span:last-child { font-size: clamp(11px, 1.5svh, 14px); }
  .feature-orbit { width: clamp(40px, 7.7svh, 70px); height: clamp(40px, 7.7svh, 70px); flex-basis: clamp(40px, 7.7svh, 70px); }
  .feature-orbit svg { font-size: clamp(27px, 5.2svh, 47px); }
  .hero-next { align-self: center; justify-self: center; font-size: 11px; line-height: 1.4; }
  .hero-next span { font-size: 18px; line-height: 1; }
}
@media (min-width: 960px) and (min-height: 500px) and (max-height: 699px) {
  :root { --header-height: 64px; }
  .site-header { min-height: var(--header-height); height: var(--header-height); padding-top: 10px; padding-bottom: 10px; }
  .hero-highlights, .hero-next { display: none; }
  .hero { grid-template-rows: auto minmax(0, 1fr); }
  .hero h1 { margin-bottom: 8px; }
  .hero-subtitle { margin-bottom: 10px; }
}
