/* iDUB POST · identidade da Dubelato: azul-marinho, verde-água e creme; Glober no texto, Canter nos títulos */
@font-face { font-family: "Glober"; src: url("/fonts/glober-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Glober"; src: url("/fonts/glober-semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Glober"; src: url("/fonts/glober-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Canter"; src: url("/fonts/canter-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --azul: #1b2443;
  --azul-2: #2a3561;
  --verde: #52c4a6;
  --verde-escuro: #2f9c80;
  --verde-claro: #dff4ee;
  --creme: #f2f3e6;
  --creme-2: #e7e9d6;
  --branco: #ffffff;
  --texto: #1b2443;
  --texto-2: #565d73;
  --borda: #dcdfcc;
  --perigo: #c2410c;
  --raio: 16px;
  --sombra: 0 1px 2px rgb(27 36 67 / 6%), 0 8px 24px rgb(27 36 67 / 8%);
  --titulo: "Canter", "Glober", system-ui, sans-serif;
  --corpo: "Glober", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--corpo); color: var(--texto); background: var(--creme);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--azul); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
.titulo-marca { font-family: var(--titulo); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 6px; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 15px/1 var(--corpo); padding: 13px 20px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-verde { background: var(--verde); color: var(--azul); }
.btn-verde:hover { background: #45b898; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-2); }
.btn-linha { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn-linha:hover { background: rgb(27 36 67 / 6%); }
.btn-leve { background: var(--creme); color: var(--azul); }
.btn-leve:hover { background: var(--creme-2); }
.btn-pequeno { padding: 8px 14px; min-height: 36px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-perigo { background: transparent; color: var(--perigo); border-color: transparent; }

/* campos */
label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.campo { margin-bottom: 16px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=time], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--corpo); color: var(--texto); background: #fff;
  border: 1.5px solid var(--borda); border-radius: 12px; padding: 12px 14px; min-height: 46px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgb(82 196 166 / 25%); }
.ajuda { color: var(--texto-2); font-size: 13px; margin-top: 4px; }
.aviso { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 12px 0; }
.aviso-erro { background: #fdece4; color: #8a2d07; }
.aviso-ok { background: var(--verde-claro); color: #12523f; }
.aviso-info { background: #fff; border: 1.5px dashed var(--borda); color: var(--texto-2); }

/* cartões */
.cartao { background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 24px; }

/* Botão flutuante do WhatsApp da Lenão Labs */
.zap {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgb(0 0 0 / 22%);
  transition: transform .2s ease;
}
.zap:hover { transform: scale(1.06); }
.zap svg { width: 30px; height: 30px; }
.zap-dica {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--azul);
  color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.zap:hover .zap-dica, .zap:focus-visible .zap-dica { opacity: 1; }

/* Propaganda da Lenão Labs */
.lenao {
  display: flex; gap: 14px; align-items: center; background: var(--azul); color: #fff; border-radius: var(--raio);
  padding: 16px 18px; text-decoration: none; position: relative; overflow: hidden;
}
.lenao::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%; background: rgb(82 196 166 / 18%); }
.lenao b { color: var(--verde); }
.lenao small { display: block; opacity: .8; font-size: 13px; }
.lenao .seta { margin-left: auto; font-size: 20px; color: var(--verde); }

.rodape { padding: 28px 20px 90px; text-align: center; color: var(--texto-2); font-size: 14px; }
.rodape a { color: var(--azul); font-weight: 600; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--azul); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; transition: all .25s ease; z-index: 90;
  pointer-events: none; max-width: calc(100vw - 120px); text-align: center;
}
.toast.ver { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
