/* Leonardo Silva Gesseiro — visual compartilhado (azul-marinho + off-white + dourado)
   As variáveis mudam conforme a seção: .escuro (fundo marinho) ou .claro (fundo off-white).
   --preto = cor de FUNDO da seção · --off = cor do TEXTO da seção */
:root, .escuro {
  --preto: #0f1d33;
  --grafite: #172a47;
  --grafite-2: #1f3557;
  --linha: rgba(244, 239, 230, 0.16);
  --off: #f4efe6;
  --off-2: rgba(244, 239, 230, 0.84);
  --off-3: rgba(244, 239, 230, 0.62);
  --ok: #9fd3a8;
  --alerta: #f0b4a4;
  --aviso-cor: #f0d38a;
  color-scheme: dark;
}
.claro {
  --preto: #f5f1e9;
  --grafite: #ffffff;
  --grafite-2: #ffffff;
  --linha: rgba(15, 29, 51, 0.13);
  --off: #0f1d33;
  --off-2: rgba(15, 29, 51, 0.78);
  --off-3: rgba(15, 29, 51, 0.55);
  --ok: #2f7d43;
  --alerta: #b4432c;
  --aviso-cor: #9a6a00;
  color-scheme: light;
}
.escuro, .claro { background: var(--preto); color: var(--off); }
:root {
  --marinho: #0f1d33;
  --creme: #f5f1e9;
  --ouro: #d4a53c;
  --ouro-2: #e7c46e;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --raio: 14px;
  --sombra: 0 18px 40px -18px rgba(15, 29, 51, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--preto); color: var(--off); font-family: var(--sans); }
body { min-height: 100dvh; font-size: 16px; font-weight: 500; line-height: 1.55; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 20px; }

/* Marca */
.marca { font-family: var(--serif); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.05; }
.marca small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .26em; color: var(--off-3); margin-top: 8px; }
.titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8vw, 40px); line-height: 1.08; margin: 0 0 10px; letter-spacing: .01em; }
.sub { color: var(--off-2); margin: 0 0 24px; }
.rotulo { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--off-3); }
.fio { height: 1px; background: linear-gradient(90deg, transparent, var(--off-3), transparent); border: 0; margin: 28px 0; }

/* Botões */
.btn {
  appearance: none; border: 1px solid var(--off); background: var(--off); color: var(--preto);
  border-radius: 999px; padding: 17px 26px; font-weight: 600; font-size: 15px; letter-spacing: .06em;
  width: 100%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .25s var(--ease), background .25s, opacity .25s; text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn.vazado { background: transparent; color: var(--off); border-color: var(--linha); }
.btn.vazado:active { background: var(--grafite-2); }
.btn.pequeno { width: auto; padding: 10px 16px; font-size: 14px; }
.btn.zap { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.btn.ouro { background: var(--ouro); border-color: var(--ouro); color: var(--marinho); }
.btn.ouro:hover { background: var(--ouro-2); }
.btn .seta { transition: transform .3s var(--ease); }
.btn:hover .seta { transform: translateX(4px); }

/* Campos */
.campo { display: block; margin-bottom: 18px; }
.campo span { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--off-2); margin-bottom: 8px; }
.campo input, .campo textarea, .campo select {
  width: 100%; background: var(--grafite); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 16px; font-size: 17px; outline: none; transition: border-color .2s, background .2s;
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { border-color: var(--off-2); background: var(--grafite-2); }
.campo input::placeholder, .campo textarea::placeholder { color: var(--off-3); }

.cartao { background: var(--grafite); border: 1px solid var(--linha); border-radius: 18px; padding: 18px; }
.claro .cartao, .claro .campo input, .claro .campo textarea, .claro .campo select { box-shadow: 0 1px 2px rgba(15,29,51,.04); }
.claro .campo input:focus, .claro .campo textarea:focus, .claro .campo select:focus { border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(212,165,60,.18); }

/* Logo LS (provisória) */
.ls { position: relative; flex: none; width: 44px; height: 44px; border: 1.5px solid currentColor; color: inherit; }
.ls::before { content: ''; position: absolute; inset: 4px; border: 1px solid currentColor; opacity: .35; }
.ls span { position: absolute; font-family: var(--serif); line-height: 1; font-size: 21px; }
.ls .l { left: 21%; top: 14%; }
.ls .s { left: 47%; top: 38%; }
.ls i { position: absolute; left: 50%; top: 18%; width: 1px; height: 64%; background: currentColor; opacity: .45; transform: rotate(35deg); }
.ls.ouro { color: var(--ouro); }
.ls-img { height: 40px; width: auto; flex: none; display: block; }
.claro .ls-img { background: var(--marinho); padding: 5px 8px; border-radius: 9px; height: 46px; }
.escuro .ls-img { background: none; padding: 0; height: 40px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .nome { font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em; font-size: 15px; line-height: 1.05; }
.logo .nome small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .26em; opacity: .65; margin-top: 4px; }

/* Animações */
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes surge { from { opacity: 0; } to { opacity: 1; } }
.anima > * { animation: sobe .7s var(--ease) both; }
.anima > *:nth-child(2) { animation-delay: .07s; }
.anima > *:nth-child(3) { animation-delay: .14s; }
.anima > *:nth-child(4) { animation-delay: .21s; }
.anima > *:nth-child(5) { animation-delay: .28s; }
.anima > *:nth-child(6) { animation-delay: .35s; }
.anima > *:nth-child(n+7) { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.aviso { position: fixed; left: 50%; bottom: calc(104px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; background: var(--off); color: var(--preto);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .35s var(--ease); z-index: 99; pointer-events: none; max-width: 90vw; text-align: center; }
.aviso.on { transform: translate(-50%, 0); opacity: 1; }
.oculto { display: none !important; }
