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

:root {
  --marinho: #1b2a4a;
  --azul-fundo: #233556;
  --ouro: #e8c36a;
  --papel: #f7f4ed;
  --tinta: #192840;
  --texto: #49586a;
  --linha: #cdd3da;
  color: var(--tinta);
  background: white;
  font-family: Geist, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #146dd5; outline-offset: 4px; }
.abertura :focus-visible, .rodape :focus-visible, .coletor :focus-visible { outline-color: white; }
.largura { width: min(78rem, calc(100% - clamp(2.5rem, 9vw, 9rem))); margin-inline: auto; }
.atalho { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-170%); z-index: 2; background: white; color: var(--marinho); padding: .6rem 1rem; }
.atalho:focus { transform: none; }

.topo { background: var(--marinho); color: white; }
.navegacao { min-height: 5.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #42516b; }
.marca { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.4rem; font-weight: 620; letter-spacing: -.055em; white-space: nowrap; }
.marca img { width: 2.15rem; height: 2.15rem; border-radius: .36rem; }
nav { display: flex; gap: clamp(.55rem, 2.6vw, 2.3rem); align-items: center; }
nav a { text-decoration: none; font-size: .965rem; padding: .62rem .08rem; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .3rem; }
.nav-contato { border: 1px solid #8190a6; border-radius: 2rem; padding: .5rem 1.15rem; }
.topo :focus-visible { outline-color: var(--ouro); }

.abertura { background: var(--marinho); color: white; }
.abertura-grade { display: grid; grid-template-columns: 1.07fr 1fr; align-items: stretch; column-gap: clamp(2rem, 5.8vw, 6rem); padding-block: clamp(2rem, 4.5vw, 4.25rem); }
.abertura-texto { align-self: center; padding-block: 1rem; }
h1, h2 { font-weight: 510; letter-spacing: -.056em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.65vw, 5.65rem); line-height: .99; max-width: 12ch; }
.abertura-texto p { color: #dde2ea; font-size: clamp(1.06rem, 1.45vw, 1.25rem); line-height: 1.55; max-width: 37ch; margin-block: 1.65rem 2rem; }
.botao { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: .42rem; padding: .87rem 1.4rem; min-height: 3rem; font: inherit; font-weight: 640; letter-spacing: -.015em; cursor: pointer; text-decoration: none; }
.botao-ouro { background: var(--ouro); color: var(--marinho); }
.botao-ouro:hover { background: #f4d68a; }
.abertura-foto { min-height: 25rem; height: clamp(25rem, 36vw, 32rem); overflow: hidden; border-radius: .35rem .35rem clamp(3rem, 7vw, 7rem) .35rem; }
.abertura-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.secao { padding-block: clamp(3.7rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 3.55vw, 3.65rem); line-height: 1.04; }
h3 { font-size: 1.22rem; font-weight: 590; letter-spacing: -.035em; }
.demonstracao { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2.25rem, 5vw, 5.5rem); align-items: center; }
.intro-demo h2 { max-width: 13ch; }
.intro-demo p, .recursos p { color: var(--texto); margin-top: 1.15rem; font-size: 1.075rem; line-height: 1.57; }
.intro-demo p { max-width: 34ch; }
.exemplo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--linha); border-radius: 1.1rem; overflow: hidden; background: white; }
.coletor, .painel-demo { padding: clamp(1.2rem, 2.1vw, 2.15rem); }
.coletor { background: var(--azul-fundo); color: white; }
.rotulo-relogio, .rotulo-dia { font-size: .88rem; margin-top: 2.55rem; }
.rotulo-relogio, .unidade { color: #d9e1ec; }
.relogio { display: block; margin-block: .35rem .25rem; font-variant-numeric: tabular-nums; font-size: clamp(2.5rem, 3.8vw, 3.7rem); letter-spacing: -.075em; line-height: 1; white-space: nowrap; }
.relogio span { color: var(--ouro); font-size: .61em; }
.unidade { font-size: 1rem; }
.botao-claro { background: var(--papel); color: var(--marinho); margin-top: 1.6rem; width: 100%; font-size: .95rem; }
.botao-claro:hover { background: white; }
.rotulo-dia { color: var(--texto); }
.retorno { border-top: 1px solid var(--linha); margin-top: .55rem; }
.vazio { color: var(--texto); margin-block: .95rem; max-width: 21ch; font-size: 1rem; }
.registro { margin-top: .8rem; display: grid; gap: .55rem; }
.registro dt { font-size: .84rem; color: var(--texto); }
.registro dd { font-size: 1.02rem; font-weight: 600; }

.recursos { background: var(--papel); }
.recursos-grade { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.recursos h2 { max-width: 13ch; }
.perguntas { border-top: 1px solid #b6bdc5; }
.perguntas details { border-bottom: 1px solid #b6bdc5; }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; cursor: pointer; font-size: clamp(1.08rem, 1.35vw, 1.25rem); font-weight: 590; letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 450; font-size: 1.45rem; line-height: 1; }
details[open] summary::after { content: "−"; }
.perguntas p { margin: -.2rem 1.6rem 1.2rem 0; max-width: 55ch; font-size: 1rem; }

.rodape { background: var(--marinho); color: white; }
.rodape-grade { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.7rem 2rem; padding-block: clamp(3.5rem, 6vw, 5.25rem); }
.rodape h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
.rodape p { color: #d9e1ec; margin-top: .75rem; }
.email { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--ouro); text-underline-offset: .3rem; text-decoration-thickness: 1px; }
.email:hover { color: white; }

@media (max-width: 63rem) {
  .demonstracao { grid-template-columns: 1fr; align-items: start; }
  .intro-demo { max-width: 39rem; }
  .intro-demo h2, .intro-demo p { max-width: none; }
  .exemplo { max-width: 49rem; width: 100%; }
}

@media (max-width: 45rem) {
  .navegacao { min-height: 4.2rem; }
  .nav-demo { display: none; }
  .marca { font-size: 1.13rem; gap: .35rem; }
  .marca img { width: 1.8rem; height: 1.8rem; }
  nav a { font-size: .9rem; }
  .nav-contato { padding: .4rem .8rem; }
  .abertura-grade { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.6rem 1.9rem; }
  .abertura-texto { padding: 0; }
  h1 { font-size: clamp(2.7rem, 9.1vw, 4.25rem); max-width: 14ch; }
  .abertura-texto p { margin-block: 1.15rem 1.4rem; }
  .abertura-foto { min-height: 0; height: clamp(14rem, 58vw, 23rem); }
  .recursos-grade { grid-template-columns: 1fr; gap: 1.75rem; }
  .recursos h2 { max-width: 17ch; }
}

@media (max-width: 33rem) {
  .exemplo { grid-template-columns: 1fr; }
  .coletor, .painel-demo { padding: 1.4rem; }
  .rotulo-relogio, .rotulo-dia { margin-top: 1.3rem; }
  .botao-claro { max-width: 18rem; }
  .vazio { max-width: none; }
}
