@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --tinta: #192f48;
  --marinho: #192e4b;
  --cobalto: #294bba;
  --ouro: #efbb52;
  --creme: #f7f6ef;
  --texto: #43566a;
  --linha: #cbd2d3;
  color: var(--tinta);
  background: var(--creme);
  font-family: Geist, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cobalto); outline-offset: 4px; }
.largura { width: min(84rem, calc(100% - clamp(2.5rem, 9vw, 10rem))); margin-inline: auto; }
.atalho { position: absolute; inset: .55rem auto auto .55rem; transform: translateY(-170%); z-index: 5; padding: .65rem 1rem; background: white; color: var(--tinta); }
.atalho:focus { transform: none; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 535; letter-spacing: -.061em; }
h2 { font-size: clamp(2.25rem, 3.8vw, 3.85rem); line-height: 1.04; }
h3 { font-size: 1.14rem; font-weight: 620; letter-spacing: -.03em; }

.topo { background: var(--creme); }
.navegacao { min-height: 4.85rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--linha); }
.marca { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; text-decoration: none; font-size: 1.45rem; font-weight: 680; letter-spacing: -.06em; white-space: nowrap; }
.marca img { display: block; width: 2.5rem; height: 2.5rem; }
nav { display: flex; align-items: center; gap: clamp(.7rem, 2.7vw, 2.65rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .15rem; font-size: .98rem; font-weight: 520; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-contato { border: 1px solid #9aa8ac; border-radius: 2rem; padding-inline: 1.3rem; }

.abertura-grade { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 4.4vw, 4.5rem); padding-block: clamp(2.75rem, 4vw, 4.4rem) clamp(3.5rem, 5.5vw, 5.6rem); }
.abertura-texto { position: relative; }
.abertura-texto::before {
  content: ""; display: block; width: 4.55rem; height: .66rem; margin-bottom: 1.6rem;
  background: linear-gradient(var(--ouro), var(--ouro)) right / .76rem 100% no-repeat,
    repeating-linear-gradient(90deg, #82909b 0 1px, transparent 1px .5rem) left bottom / 3.55rem .47rem no-repeat;
}
h1 { font-size: clamp(3.3rem, 5.35vw, 5.65rem); line-height: .985; max-width: 13ch; }
.abertura-texto p { color: var(--texto); font-size: clamp(1.06rem, 1.45vw, 1.26rem); line-height: 1.55; max-width: 36ch; margin-block: 1.35rem 1.8rem; }
.botao { display: inline-flex; justify-content: center; align-items: center; min-height: 3.15rem; padding: .77rem 1.45rem; border: 0; border-radius: .65rem; font: inherit; font-weight: 600; letter-spacing: -.015em; cursor: pointer; text-decoration: none; }
.botao-acao { background: var(--cobalto); color: #fff; }
.botao-acao:hover { background: #1e3794; }

.abertura-visual { position: relative; isolation: isolate; padding: 0 .55rem .55rem 0; }
.abertura-visual::before, .abertura-foto { border-radius: 1.2rem clamp(3.5rem, 7vw, 7.75rem) 1.2rem 1.2rem; }
.abertura-visual::before { content: ""; position: absolute; inset: .55rem 0 0 .55rem; background: var(--ouro); z-index: -1; }
.abertura-foto { position: relative; overflow: hidden; height: clamp(24rem, 37vw, 34rem); background: #62758a; }
.abertura-foto picture { position: absolute; inset: 0; display: block; }
.abertura-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.legenda-foto { position: absolute; left: clamp(.65rem, 1.3vw, 1.35rem); bottom: clamp(1.15rem, 1.65vw, 1.7rem); padding: .32rem .65rem; border-radius: .35rem; background: var(--creme); color: var(--tinta); font-size: .8125rem; font-weight: 500; }

.secao { padding-block: clamp(4rem, 7.4vw, 7rem); }
.demonstracao { background: var(--marinho); color: #fffdf8; }
.demo-grade { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5.25vw, 5.8rem); align-items: center; }
.intro-demo h2 { max-width: 14ch; }
.intro-demo p { color: #d1dce7; margin-top: 1.15rem; font-size: 1.08rem; line-height: 1.6; max-width: 35ch; }
.exemplo { display: grid; grid-template-columns: 1fr 1fr; border-radius: 1.25rem; overflow: hidden; color: var(--tinta); background: #fffdf7; }
.coletor, .painel-demo { min-width: 0; padding: clamp(1.25rem, 2.2vw, 2.35rem); }
.coletor { background: #e0e9f9; }
.coletor h3, .painel-demo h3 { display: flex; align-items: center; gap: .58rem; }
.coletor h3::before { content: ""; flex: none; display: block; width: .63rem; height: 1.02rem; border: 1.7px solid currentColor; border-radius: .19rem; }
.painel-demo h3::before { content: ""; flex: none; display: block; width: 1.1rem; height: .74rem; border: 1.7px solid currentColor; border-radius: .13rem; box-shadow: 0 3px 0 -1.2px currentColor; }
.rotulo-relogio, .rotulo-dia { font-size: .88rem; color: var(--texto); margin-top: 2rem; }
.relogio { display: block; margin-block: .35rem .15rem; font-variant-numeric: tabular-nums; font-size: clamp(2.8rem, 4vw, 4.2rem); letter-spacing: -.072em; line-height: 1; white-space: nowrap; }
.relogio span { color: #38568d; font-size: .58em; }
.unidade { font-size: .98rem; color: #394e65; }
.botao-claro { min-height: 2.8rem; color: white; background: var(--marinho); margin-top: 1.45rem; width: 100%; font-size: .97rem; }
.botao-claro:hover { background: #30496b; }
.painel-demo { position: relative; border-left: 1px dashed #a9b7c5; }
.rotulo-dia { font-weight: 560; }
.retorno { min-height: 8.55rem; border-top: 1px solid var(--linha); margin-top: .65rem; }
.vazio { color: var(--texto); margin-block: .85rem; max-width: 21ch; }
.registro { padding-top: .55rem; display: grid; gap: .42rem; }
.registro dt { font-size: .84rem; color: var(--texto); }
.registro dd { font-size: .99rem; font-weight: 640; }
.registro div:first-child dd { color: #23634a; }

.recursos { background: #fff; }
.recursos-grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6.25rem); align-items: start; }
.recursos h2 { max-width: 14ch; }
.perguntas { border-top: 1px solid var(--linha); }
.perguntas details { border-bottom: 1px solid var(--linha); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; cursor: pointer; font-size: clamp(1.06rem, 1.4vw, 1.26rem); font-weight: 585; letter-spacing: -.022em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #c2cdd8; border-radius: 50%; color: var(--cobalto); font-size: 1.15rem; font-weight: 440; line-height: 1; }
details[open] summary::after { content: "−"; color: white; background: var(--cobalto); border-color: var(--cobalto); }
summary:hover { color: var(--cobalto); }
.perguntas p { color: var(--texto); margin: -.15rem 2.5rem 1.25rem 0; max-width: 55ch; line-height: 1.55; }

.rodape { background: #f2c45f; overflow: hidden; }
.rodape-grade { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.rodape-texto { width: min(68%, 46rem); }
.rodape h2 { font-size: clamp(2.05rem, 3.15vw, 3.3rem); }
.rodape p { margin-block: .8rem .5rem; font-size: 1.04rem; }
.email { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 610; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.email:hover { text-decoration-thickness: 2px; }
.mostrador { position: absolute; z-index: -1; right: 2%; top: 27%; width: clamp(14rem, 24vw, 24rem); aspect-ratio: 1; border: 2px solid #ae803c; border-radius: 50%; color: var(--tinta); }
.mostrador::before { content: ""; position: absolute; inset: .9rem; border-radius: 50%; background: repeating-conic-gradient(from -1deg, #966f37 0 1.2deg, transparent 1.2deg 6deg); mask-image: radial-gradient(circle closest-side, transparent 92%, black 92.5%); }
.mostrador span { position: absolute; z-index: 1; left: 50%; top: 50%; width: .75rem; height: .75rem; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.mostrador::after, .mostrador span::before { content: ""; position: absolute; bottom: 50%; left: 50%; width: .25rem; border-radius: .25rem; background: currentColor; transform-origin: bottom center; }
.mostrador::after { height: 35%; transform: translateX(-50%) rotate(12deg); }
.mostrador span::before { height: clamp(3.2rem, 5.7vw, 6.2rem); transform: translateX(-50%) rotate(-119deg); }

@keyframes aparecer {
  from { opacity: .88; transform: translateY(.7rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revelar-mostrador {
  from { opacity: 0; transform: rotate(-6deg); }
  to { opacity: 1; transform: rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].entrou { animation: aparecer .52s cubic-bezier(.18,.72,.3,1); }
  .mostrador.entrou { animation-name: revelar-mostrador; animation-duration: .7s; }
  [data-reveal]:focus-within, [data-reveal]:target, :target [data-reveal] { animation: none; }
  .botao, summary, .nav-contato { transition: background-color .18s, color .18s, border-color .18s; }
}
@media (min-width: 48rem) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .abertura-foto picture { inset: -24px 0; transform: translate3d(0, var(--parallax-y, 0px), 0); }
}
@media (max-width: 64rem) {
  .demo-grade { grid-template-columns: 1fr; }
  .intro-demo h2, .intro-demo p { max-width: 38rem; }
  .exemplo { max-width: 51rem; width: 100%; }
}
@media (max-width: 48rem) {
  .navegacao { min-height: 4.25rem; }
  .abertura-grade { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.2rem 2.8rem; }
  .abertura-texto::before { margin-bottom: 1rem; }
  h1 { font-size: clamp(2.85rem, 8.25vw, 4.4rem); max-width: 15ch; }
  .abertura-texto p { margin-block: 1.1rem 1.3rem; max-width: 40ch; }
  .abertura-foto { height: clamp(15.2rem, 57vw, 23rem); }
  .recursos-grade { grid-template-columns: 1fr; gap: 1.65rem; }
  .recursos h2 { max-width: 18ch; }
}
@media (max-width: 35rem) {
  .navegacao { gap: .4rem; }
  nav { gap: .7rem; }
  nav a { font-size: .9rem; }
  .nav-demo { display: none; }
  .nav-contato { padding-inline: .95rem; }
  .marca { font-size: 1.2rem; gap: .22rem; }
  .marca img { width: 2rem; height: 2rem; }
  .exemplo { grid-template-columns: 1fr; }
  .coletor, .painel-demo { padding: 1.4rem; }
  .painel-demo { border-left: 0; border-top: 1px dashed #a9b7c5; }
  .rotulo-relogio, .rotulo-dia { margin-top: 1.25rem; }
  .retorno { min-height: 4.6rem; }
  .vazio { max-width: none; }
  .rodape-texto { width: 100%; }
  .mostrador { display: none; }
}
@media (max-width: 23rem) {
  .navegacao { width: calc(100% - 2rem); }
  .marca { font-size: 1.08rem; }
  .marca img { width: 1.65rem; height: 1.65rem; }
  nav { gap: .5rem; }
  .nav-contato { padding-inline: .7rem; }
}
